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/seat.c | |
parent | Translate README to Arabic (diff) | |
download | sway-7cf4e1d5c68d764037f78cbffb167a4cc763c6c1.tar.gz sway-7cf4e1d5c68d764037f78cbffb167a4cc763c6c1.tar.zst sway-7cf4e1d5c68d764037f78cbffb167a4cc763c6c1.zip |
Drop support for KDE's idle protocol
We support the standard idle-notify protocol since Sway 1.8.
Diffstat (limited to 'sway/input/seat.c')
-rw-r--r-- | sway/input/seat.c | 2 |
1 files changed, 0 insertions, 2 deletions
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 @@ | |||
7 | #include <wlr/config.h> | 7 | #include <wlr/config.h> |
8 | #include <wlr/types/wlr_cursor.h> | 8 | #include <wlr/types/wlr_cursor.h> |
9 | #include <wlr/types/wlr_data_device.h> | 9 | #include <wlr/types/wlr_data_device.h> |
10 | #include <wlr/types/wlr_idle.h> | ||
11 | #include <wlr/types/wlr_idle_notify_v1.h> | 10 | #include <wlr/types/wlr_idle_notify_v1.h> |
12 | #include <wlr/types/wlr_keyboard_group.h> | 11 | #include <wlr/types/wlr_keyboard_group.h> |
13 | #include <wlr/types/wlr_output_layout.h> | 12 | #include <wlr/types/wlr_output_layout.h> |
@@ -103,7 +102,6 @@ void seat_idle_notify_activity(struct sway_seat *seat, | |||
103 | if ((source & seat->idle_inhibit_sources) == 0) { | 102 | if ((source & seat->idle_inhibit_sources) == 0) { |
104 | return; | 103 | return; |
105 | } | 104 | } |
106 | wlr_idle_notify_activity(server.idle, seat->wlr_seat); | ||
107 | wlr_idle_notifier_v1_notify_activity(server.idle_notifier_v1, seat->wlr_seat); | 105 | wlr_idle_notifier_v1_notify_activity(server.idle_notifier_v1, seat->wlr_seat); |
108 | } | 106 | } |
109 | 107 | ||