aboutsummaryrefslogtreecommitdiff
path: root/include/sway/input
diff options
context:
space:
mode:
Diffstat (limited to 'include/sway/input')
-rw-r--r--include/sway/input/cursor.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/sway/input/cursor.h b/include/sway/input/cursor.h
index e46c9b18..0bcd262f 100644
--- a/include/sway/input/cursor.h
+++ b/include/sway/input/cursor.h
@@ -3,6 +3,7 @@
#include <stdbool.h>
#include <stdint.h>
#include <wlr/types/wlr_pointer_constraints_v1.h>
+#include <wlr/types/wlr_pointer_gestures_v1.h>
#include <wlr/types/wlr_surface.h>
#include "sway/input/seat.h"
@@ -32,6 +33,14 @@ struct sway_cursor {
struct wlr_pointer_constraint_v1 *active_constraint;
pixman_region32_t confine; // invalid if active_constraint == NULL
+ struct wlr_pointer_gestures_v1 *pointer_gestures;
+ struct wl_listener pinch_begin;
+ struct wl_listener pinch_update;
+ struct wl_listener pinch_end;
+ struct wl_listener swipe_begin;
+ struct wl_listener swipe_update;
+ struct wl_listener swipe_end;
+
struct wl_listener motion;
struct wl_listener motion_absolute;
struct wl_listener button;