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/desktop/idle_inhibit_v1.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/desktop/idle_inhibit_v1.c')
-rw-r--r-- | sway/desktop/idle_inhibit_v1.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sway/desktop/idle_inhibit_v1.c b/sway/desktop/idle_inhibit_v1.c index 1fa058e3..f3af7aa1 100644 --- a/sway/desktop/idle_inhibit_v1.c +++ b/sway/desktop/idle_inhibit_v1.c | |||
@@ -1,5 +1,4 @@ | |||
1 | #include <stdlib.h> | 1 | #include <stdlib.h> |
2 | #include <wlr/types/wlr_idle.h> | ||
3 | #include <wlr/types/wlr_idle_notify_v1.h> | 2 | #include <wlr/types/wlr_idle_notify_v1.h> |
4 | #include "log.h" | 3 | #include "log.h" |
5 | #include "sway/desktop/idle_inhibit_v1.h" | 4 | #include "sway/desktop/idle_inhibit_v1.h" |
@@ -140,7 +139,6 @@ void sway_idle_inhibit_v1_check_active(void) { | |||
140 | break; | 139 | break; |
141 | } | 140 | } |
142 | } | 141 | } |
143 | wlr_idle_set_enabled(server.idle, NULL, !inhibited); | ||
144 | wlr_idle_notifier_v1_set_inhibited(server.idle_notifier_v1, inhibited); | 142 | wlr_idle_notifier_v1_set_inhibited(server.idle_notifier_v1, inhibited); |
145 | } | 143 | } |
146 | 144 | ||