aboutsummaryrefslogtreecommitdiff
path: root/include/wlr
diff options
context:
space:
mode:
Diffstat (limited to 'include/wlr')
-rw-r--r--include/wlr/types/wlr_pointer_gestures_v1.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/include/wlr/types/wlr_pointer_gestures_v1.h b/include/wlr/types/wlr_pointer_gestures_v1.h
index bb250389..0d91a517 100644
--- a/include/wlr/types/wlr_pointer_gestures_v1.h
+++ b/include/wlr/types/wlr_pointer_gestures_v1.h
@@ -17,6 +17,7 @@ struct wlr_pointer_gestures_v1 {
struct wl_global *global;
struct wl_list swipes; // wl_resource_get_link
struct wl_list pinches; // wl_resource_get_link
+ struct wl_list holds; // wl_resource_get_link
struct wl_listener display_destroy;
@@ -66,4 +67,15 @@ void wlr_pointer_gestures_v1_send_pinch_end(
uint32_t time_msec,
bool cancelled);
+void wlr_pointer_gestures_v1_send_hold_begin(
+ struct wlr_pointer_gestures_v1 *gestures,
+ struct wlr_seat *seat,
+ uint32_t time_msec,
+ uint32_t fingers);
+void wlr_pointer_gestures_v1_send_hold_end(
+ struct wlr_pointer_gestures_v1 *gestures,
+ struct wlr_seat *seat,
+ uint32_t time_msec,
+ bool cancelled);
+
#endif