From 9400bd963c59fd59f597c1477b8021a82ca0a72e Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Tue, 4 Oct 2022 11:44:05 +0200 Subject: Add support for ext-idle-notify-v1 References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/3753 --- sway/desktop/idle_inhibit_v1.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sway/desktop/idle_inhibit_v1.c') diff --git a/sway/desktop/idle_inhibit_v1.c b/sway/desktop/idle_inhibit_v1.c index 82353038..3a4d0b87 100644 --- a/sway/desktop/idle_inhibit_v1.c +++ b/sway/desktop/idle_inhibit_v1.c @@ -1,5 +1,6 @@ #include #include +#include #include "log.h" #include "sway/desktop/idle_inhibit_v1.h" #include "sway/input/seat.h" @@ -140,6 +141,7 @@ void sway_idle_inhibit_v1_check_active( } } wlr_idle_set_enabled(manager->idle, NULL, !inhibited); + wlr_idle_notifier_v1_set_inhibited(server.idle_notifier_v1, inhibited); } struct sway_idle_inhibit_manager_v1 *sway_idle_inhibit_manager_v1_create( -- cgit v1.2.3-54-g00ecf