mirror of
https://github.com/swaywm/sway.git
synced 2024-11-14 06:24:20 +01:00
input/cursor: treat swipe begin as idle activity too
Accidentally overlooked infd53f80
. (cherry picked from commit7d1ccafae5
)
This commit is contained in:
parent
9a2155eed2
commit
7a5e62036d
@ -958,6 +958,7 @@ static void handle_pointer_swipe_begin(struct wl_listener *listener, void *data)
|
|||||||
struct sway_cursor *cursor = wl_container_of(
|
struct sway_cursor *cursor = wl_container_of(
|
||||||
listener, cursor, swipe_begin);
|
listener, cursor, swipe_begin);
|
||||||
struct wlr_event_pointer_swipe_begin *event = data;
|
struct wlr_event_pointer_swipe_begin *event = data;
|
||||||
|
cursor_handle_activity_from_device(cursor, event->device);
|
||||||
wlr_pointer_gestures_v1_send_swipe_begin(
|
wlr_pointer_gestures_v1_send_swipe_begin(
|
||||||
cursor->pointer_gestures, cursor->seat->wlr_seat,
|
cursor->pointer_gestures, cursor->seat->wlr_seat,
|
||||||
event->time_msec, event->fingers);
|
event->time_msec, event->fingers);
|
||||||
|
Loading…
Reference in New Issue
Block a user