diff options
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 | ||