aboutsummaryrefslogtreecommitdiff
path: root/sway/desktop/idle_inhibit_v1.c
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2023-06-19 21:22:23 +0200
committerSimon Ser <contact@emersion.fr>2023-10-05 00:01:54 +0200
commit7cf4e1d5c68d764037f78cbffb167a4cc763c6c1 (patch)
tree52f351172ebd64aa002a1345abca74984d728aea /sway/desktop/idle_inhibit_v1.c
parentb3519c2d2f269f34ff3712ebf1903905a56541a6 (diff)
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.c2
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 @@
#include <stdlib.h>
-#include <wlr/types/wlr_idle.h>
#include <wlr/types/wlr_idle_notify_v1.h>
#include "log.h"
#include "sway/desktop/idle_inhibit_v1.h"
@@ -140,7 +139,6 @@ void sway_idle_inhibit_v1_check_active(void) {
break;
}
}
- wlr_idle_set_enabled(server.idle, NULL, !inhibited);
wlr_idle_notifier_v1_set_inhibited(server.idle_notifier_v1, inhibited);
}