aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorLibravatar Tudor Brindus <me@tbrindus.ca>2022-01-19 19:11:08 -0500
committerLibravatar Simon Ser <contact@emersion.fr>2022-01-22 23:43:46 +0100
commit8ca2847b42533265cdccb78d939d00fc6a062e48 (patch)
tree531f9773c9deee03b399edd23d7a23904be54cf4 /include
parentcmd/swap: error on swapping a container with itself (diff)
downloadsway-8ca2847b42533265cdccb78d939d00fc6a062e48.tar.gz
sway-8ca2847b42533265cdccb78d939d00fc6a062e48.tar.zst
sway-8ca2847b42533265cdccb78d939d00fc6a062e48.zip
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')
-rw-r--r--include/sway/input/cursor.h2
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 {
42 struct wl_listener swipe_begin; 42 struct wl_listener swipe_begin;
43 struct wl_listener swipe_update; 43 struct wl_listener swipe_update;
44 struct wl_listener swipe_end; 44 struct wl_listener swipe_end;
45 struct wl_listener hold_begin;
46 struct wl_listener hold_end;
45 47
46 struct wl_listener motion; 48 struct wl_listener motion;
47 struct wl_listener motion_absolute; 49 struct wl_listener motion_absolute;