diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/sway/input/cursor.h | 9 |
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 @@ | |||
3 | #include <stdbool.h> | 3 | #include <stdbool.h> |
4 | #include <stdint.h> | 4 | #include <stdint.h> |
5 | #include <wlr/types/wlr_pointer_constraints_v1.h> | 5 | #include <wlr/types/wlr_pointer_constraints_v1.h> |
6 | #include <wlr/types/wlr_pointer_gestures_v1.h> | ||
6 | #include <wlr/types/wlr_surface.h> | 7 | #include <wlr/types/wlr_surface.h> |
7 | #include "sway/input/seat.h" | 8 | #include "sway/input/seat.h" |
8 | 9 | ||
@@ -32,6 +33,14 @@ struct sway_cursor { | |||
32 | struct wlr_pointer_constraint_v1 *active_constraint; | 33 | struct wlr_pointer_constraint_v1 *active_constraint; |
33 | pixman_region32_t confine; // invalid if active_constraint == NULL | 34 | pixman_region32_t confine; // invalid if active_constraint == NULL |
34 | 35 | ||
36 | struct wlr_pointer_gestures_v1 *pointer_gestures; | ||
37 | struct wl_listener pinch_begin; | ||
38 | struct wl_listener pinch_update; | ||
39 | struct wl_listener pinch_end; | ||
40 | struct wl_listener swipe_begin; | ||
41 | struct wl_listener swipe_update; | ||
42 | struct wl_listener swipe_end; | ||
43 | |||
35 | struct wl_listener motion; | 44 | struct wl_listener motion; |
36 | struct wl_listener motion_absolute; | 45 | struct wl_listener motion_absolute; |
37 | struct wl_listener button; | 46 | struct wl_listener button; |