diff options
author | Simon Ser <contact@emersion.fr> | 2023-06-19 21:22:23 +0200 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2023-10-05 00:01:54 +0200 |
commit | 7cf4e1d5c68d764037f78cbffb167a4cc763c6c1 (patch) | |
tree | 52f351172ebd64aa002a1345abca74984d728aea /sway/input | |
parent | b3519c2d2f269f34ff3712ebf1903905a56541a6 (diff) |
Drop support for KDE's idle protocol
We support the standard idle-notify protocol since Sway 1.8.
Diffstat (limited to 'sway/input')
-rw-r--r-- | sway/input/cursor.c | 1 | ||||
-rw-r--r-- | sway/input/keyboard.c | 1 | ||||
-rw-r--r-- | sway/input/seat.c | 2 | ||||
-rw-r--r-- | sway/input/switch.c | 1 |
4 files changed, 0 insertions, 5 deletions
diff --git a/sway/input/cursor.c b/sway/input/cursor.c index 44a5d6f7..36aab93e 100644 --- a/sway/input/cursor.c +++ b/sway/input/cursor.c @@ -8,7 +8,6 @@ #include <strings.h> #include <wlr/types/wlr_cursor.h> #include <wlr/types/wlr_cursor_shape_v1.h> -#include <wlr/types/wlr_idle.h> #include <wlr/types/wlr_pointer.h> #include <wlr/types/wlr_touch.h> #include <wlr/types/wlr_tablet_v2.h> diff --git a/sway/input/keyboard.c b/sway/input/keyboard.c index c3bf4fbb..8927287f 100644 --- a/sway/input/keyboard.c +++ b/sway/input/keyboard.c @@ -4,7 +4,6 @@ #include <wlr/config.h> #include <wlr/backend/multi.h> #include <wlr/interfaces/wlr_keyboard.h> -#include <wlr/types/wlr_idle.h> #include <wlr/types/wlr_keyboard.h> #include <wlr/types/wlr_keyboard_group.h> #include <xkbcommon/xkbcommon-names.h> diff --git a/sway/input/seat.c b/sway/input/seat.c index a84e4d52..f56de137 100644 --- a/sway/input/seat.c +++ b/sway/input/seat.c @@ -7,7 +7,6 @@ #include <wlr/config.h> #include <wlr/types/wlr_cursor.h> #include <wlr/types/wlr_data_device.h> -#include <wlr/types/wlr_idle.h> #include <wlr/types/wlr_idle_notify_v1.h> #include <wlr/types/wlr_keyboard_group.h> #include <wlr/types/wlr_output_layout.h> @@ -103,7 +102,6 @@ void seat_idle_notify_activity(struct sway_seat *seat, if ((source & seat->idle_inhibit_sources) == 0) { return; } - wlr_idle_notify_activity(server.idle, seat->wlr_seat); wlr_idle_notifier_v1_notify_activity(server.idle_notifier_v1, seat->wlr_seat); } diff --git a/sway/input/switch.c b/sway/input/switch.c index fc7dfaff..7a539801 100644 --- a/sway/input/switch.c +++ b/sway/input/switch.c @@ -1,6 +1,5 @@ #include "sway/config.h" #include "sway/input/switch.h" -#include <wlr/types/wlr_idle.h> #include "log.h" struct sway_switch *sway_switch_create(struct sway_seat *seat, |