aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTudor Brindus <me@tbrindus.ca>2022-01-19 19:11:08 -0500
committerSimon Ser <contact@emersion.fr>2022-01-22 23:43:46 +0100
commit8ca2847b42533265cdccb78d939d00fc6a062e48 (patch)
tree531f9773c9deee03b399edd23d7a23904be54cf4 /include
parentfeea4b44108cf971ff8d1d474a75128dd737c1db (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;