aboutsummaryrefslogtreecommitdiffstats
path: root/include/sway/input/cursor.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/sway/input/cursor.h')
-rw-r--r--include/sway/input/cursor.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/include/sway/input/cursor.h b/include/sway/input/cursor.h
index 6a38190b..3a71a35f 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
@@ -42,6 +42,8 @@ struct sway_cursor {
42 struct wl_listener swipe_begin; 42 struct wl_listener swipe_begin;
43 struct wl_listener swipe_update; 43 struct wl_listener swipe_update;
44 struct wl_listener swipe_end; 44 struct wl_listener swipe_end;
45 struct wl_listener hold_begin;
46 struct wl_listener hold_end;
45 47
46 struct wl_listener motion; 48 struct wl_listener motion;
47 struct wl_listener motion_absolute; 49 struct wl_listener motion_absolute;
@@ -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
110void dispatch_cursor_axis(struct sway_cursor *cursor, 114void dispatch_cursor_axis(struct sway_cursor *cursor,
111 struct wlr_event_pointer_axis *event); 115 struct wlr_pointer_axis_event *event);
112 116
113void cursor_set_image(struct sway_cursor *cursor, const char *image, 117void cursor_set_image(struct sway_cursor *cursor, const char *image,
114 struct wl_client *client); 118 struct wl_client *client);