aboutsummaryrefslogtreecommitdiff
path: root/sway/input
diff options
context:
space:
mode:
authorTudor Brindus <me@tbrindus.ca>2022-01-17 17:13:26 -0500
committerSimon Ser <contact@emersion.fr>2022-01-17 23:17:36 +0100
commit7d1ccafae5a5d2eddfda2f857ea81ce88f141ddc (patch)
tree35d94fcb98463338975c08b2dccf82e7ba4ed8d0 /sway/input
parentfd53f80156cee413a5166fb8e904a11901e45548 (diff)
input/cursor: treat swipe begin as idle activity too
Accidentally overlooked in fd53f80.
Diffstat (limited to 'sway/input')
-rw-r--r--sway/input/cursor.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sway/input/cursor.c b/sway/input/cursor.c
index 322b91fb..6fddee90 100644
--- a/sway/input/cursor.c
+++ b/sway/input/cursor.c
@@ -958,6 +958,7 @@ static void handle_pointer_swipe_begin(struct wl_listener *listener, void *data)
struct sway_cursor *cursor = wl_container_of(
listener, cursor, swipe_begin);
struct wlr_event_pointer_swipe_begin *event = data;
+ cursor_handle_activity_from_device(cursor, event->device);
wlr_pointer_gestures_v1_send_swipe_begin(
cursor->pointer_gestures, cursor->seat->wlr_seat,
event->time_msec, event->fingers);