aboutsummaryrefslogtreecommitdiffstats
path: root/sway/input/seat.c
diff options
context:
space:
mode:
authorLibravatar Simon Ser <contact@emersion.fr>2022-10-04 11:44:05 +0200
committerLibravatar Simon Ser <contact@emersion.fr>2022-10-14 15:56:07 +0200
commit9400bd963c59fd59f597c1477b8021a82ca0a72e (patch)
tree17b385ae457750385526d96a81f0ffaa82052a41 /sway/input/seat.c
parentAvoid double free in criteria_destroy() (diff)
downloadsway-9400bd963c59fd59f597c1477b8021a82ca0a72e.tar.gz
sway-9400bd963c59fd59f597c1477b8021a82ca0a72e.tar.zst
sway-9400bd963c59fd59f597c1477b8021a82ca0a72e.zip
Add support for ext-idle-notify-v1
References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/3753
Diffstat (limited to 'sway/input/seat.c')
-rw-r--r--sway/input/seat.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sway/input/seat.c b/sway/input/seat.c
index b21e1b86..987e1c9f 100644
--- a/sway/input/seat.c
+++ b/sway/input/seat.c
@@ -7,6 +7,7 @@
7#include <wlr/types/wlr_cursor.h> 7#include <wlr/types/wlr_cursor.h>
8#include <wlr/types/wlr_data_device.h> 8#include <wlr/types/wlr_data_device.h>
9#include <wlr/types/wlr_idle.h> 9#include <wlr/types/wlr_idle.h>
10#include <wlr/types/wlr_idle_notify_v1.h>
10#include <wlr/types/wlr_keyboard_group.h> 11#include <wlr/types/wlr_keyboard_group.h>
11#include <wlr/types/wlr_output_layout.h> 12#include <wlr/types/wlr_output_layout.h>
12#include <wlr/types/wlr_primary_selection.h> 13#include <wlr/types/wlr_primary_selection.h>
@@ -112,6 +113,7 @@ void seat_idle_notify_activity(struct sway_seat *seat,
112 } 113 }
113 if ((source & mask) > 0) { 114 if ((source & mask) > 0) {
114 wlr_idle_notify_activity(server.idle, seat->wlr_seat); 115 wlr_idle_notify_activity(server.idle, seat->wlr_seat);
116 wlr_idle_notifier_v1_notify_activity(server.idle_notifier_v1, seat->wlr_seat);
115 } 117 }
116} 118}
117 119