diff options
author | Tudor Brindus <me@tbrindus.ca> | 2022-01-19 19:11:08 -0500 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2022-01-22 23:43:46 +0100 |
commit | 8ca2847b42533265cdccb78d939d00fc6a062e48 (patch) | |
tree | 531f9773c9deee03b399edd23d7a23904be54cf4 /include/sway/input/cursor.h | |
parent | feea4b44108cf971ff8d1d474a75128dd737c1db (diff) |
input/cursor: pass through pointer hold gestures
This just follows swaywm/wlroots#3047, so `wl_pointer_gestures_v1`
clients can be notified of these events.
Diffstat (limited to 'include/sway/input/cursor.h')
-rw-r--r-- | include/sway/input/cursor.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/sway/input/cursor.h b/include/sway/input/cursor.h index 853f8838..cd4d9270 100644 --- a/include/sway/input/cursor.h +++ b/include/sway/input/cursor.h @@ -42,6 +42,8 @@ struct sway_cursor { struct wl_listener swipe_begin; struct wl_listener swipe_update; struct wl_listener swipe_end; + struct wl_listener hold_begin; + struct wl_listener hold_end; struct wl_listener motion; struct wl_listener motion_absolute; |