aboutsummaryrefslogtreecommitdiff
path: root/include/rootston/cursor.h
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2017-11-18 22:18:25 +0100
committeremersion <contact@emersion.fr>2017-11-18 22:18:25 +0100
commit72d877658aaf309eb066e3b9825c5f59177b15c3 (patch)
tree2f7123b9cc9f6a99c1d8351272d69572b7d1e811 /include/rootston/cursor.h
parent1523082d5d74ca40f468bec04c23ed47049bb4d7 (diff)
parentfa36ac90f70787176a5cfdb6fa6835aa1226f697 (diff)
Merge branch 'master' into seat-views
Diffstat (limited to 'include/rootston/cursor.h')
-rw-r--r--include/rootston/cursor.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/include/rootston/cursor.h b/include/rootston/cursor.h
index f49b6439..f0c9be89 100644
--- a/include/rootston/cursor.h
+++ b/include/rootston/cursor.h
@@ -39,7 +39,6 @@ struct roots_cursor {
uint32_t resize_edges;
// Ring buffer of input events that could trigger move/resize/rotate
int input_events_idx;
- struct wl_list touch_points;
struct roots_input_event input_events[16];
struct wl_listener motion;
@@ -57,6 +56,9 @@ struct roots_cursor {
struct wl_listener pointer_grab_begin;
struct wl_listener pointer_grab_end;
+ struct wl_listener touch_grab_begin;
+ struct wl_listener touch_grab_end;
+
struct wl_listener request_set_cursor;
};
@@ -100,4 +102,10 @@ void roots_cursor_handle_pointer_grab_begin(struct roots_cursor *cursor,
void roots_cursor_handle_pointer_grab_end(struct roots_cursor *cursor,
struct wlr_seat_pointer_grab *grab);
+void roots_cursor_handle_touch_grab_begin(struct roots_cursor *cursor,
+ struct wlr_seat_touch_grab *grab);
+
+void roots_cursor_handle_touch_grab_end(struct roots_cursor *cursor,
+ struct wlr_seat_touch_grab *grab);
+
#endif