diff options
Diffstat (limited to 'include/sway/input/cursor.h')
-rw-r--r-- | include/sway/input/cursor.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/include/sway/input/cursor.h b/include/sway/input/cursor.h index 6a38190b..8a2898dd 100644 --- a/include/sway/input/cursor.h +++ b/include/sway/input/cursor.h | |||
@@ -4,7 +4,7 @@ | |||
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_pointer_gestures_v1.h> |
7 | #include <wlr/types/wlr_surface.h> | 7 | #include <wlr/types/wlr_compositor.h> |
8 | #include "sway/input/seat.h" | 8 | #include "sway/input/seat.h" |
9 | #include "config.h" | 9 | #include "config.h" |
10 | 10 | ||
@@ -36,6 +36,8 @@ struct sway_cursor { | |||
36 | bool active_confine_requires_warp; | 36 | bool active_confine_requires_warp; |
37 | 37 | ||
38 | struct wlr_pointer_gestures_v1 *pointer_gestures; | 38 | struct wlr_pointer_gestures_v1 *pointer_gestures; |
39 | struct wl_listener hold_begin; | ||
40 | struct wl_listener hold_end; | ||
39 | struct wl_listener pinch_begin; | 41 | struct wl_listener pinch_begin; |
40 | struct wl_listener pinch_update; | 42 | struct wl_listener pinch_update; |
41 | struct wl_listener pinch_end; | 43 | struct wl_listener pinch_end; |
@@ -52,7 +54,9 @@ struct sway_cursor { | |||
52 | struct wl_listener touch_down; | 54 | struct wl_listener touch_down; |
53 | struct wl_listener touch_up; | 55 | struct wl_listener touch_up; |
54 | struct wl_listener touch_motion; | 56 | struct wl_listener touch_motion; |
57 | struct wl_listener touch_frame; | ||
55 | bool simulating_pointer_from_touch; | 58 | bool simulating_pointer_from_touch; |
59 | bool pointer_touch_up; | ||
56 | int32_t pointer_touch_id; | 60 | int32_t pointer_touch_id; |
57 | 61 | ||
58 | struct wl_listener tool_axis; | 62 | struct wl_listener tool_axis; |
@@ -108,7 +112,7 @@ void dispatch_cursor_button(struct sway_cursor *cursor, | |||
108 | enum wlr_button_state state); | 112 | enum wlr_button_state state); |
109 | 113 | ||
110 | void dispatch_cursor_axis(struct sway_cursor *cursor, | 114 | void dispatch_cursor_axis(struct sway_cursor *cursor, |
111 | struct wlr_event_pointer_axis *event); | 115 | struct wlr_pointer_axis_event *event); |
112 | 116 | ||
113 | void cursor_set_image(struct sway_cursor *cursor, const char *image, | 117 | void cursor_set_image(struct sway_cursor *cursor, const char *image, |
114 | struct wl_client *client); | 118 | struct wl_client *client); |