From 8ca2847b42533265cdccb78d939d00fc6a062e48 Mon Sep 17 00:00:00 2001
From: Tudor Brindus <me@tbrindus.ca>
Date: Wed, 19 Jan 2022 19:11:08 -0500
Subject: 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.
---
 include/sway/input/cursor.h | 2 ++
 1 file changed, 2 insertions(+)

(limited to 'include/sway/input')

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;
-- 
cgit v1.2.3