aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorFurkan Sahin <furkan-dev@proton.me>2022-01-19 19:11:08 -0500
committerFurkan Sahin <furkan-dev@proton.me>2022-01-19 19:11:08 -0500
commit273d703549171f0a741769e0b42cfa047ab8be1c (patch)
tree531f9773c9deee03b399edd23d7a23904be54cf4 /include
parent04b514e8271cb3144a28bda8723d3cbc9835cc42 (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')
-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 {
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;