aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTony Crisci <tony@dubstepdish.com>2017-11-13 08:22:04 -0500
committerTony Crisci <tony@dubstepdish.com>2017-11-15 08:34:48 -0500
commit94e7dc8a3e4df444ef9aeb46b866dd9c8c658855 (patch)
tree252eb7bd74564a943940da6fa3c40396b6bfaff4 /include
parentcbb6fd7352ea98d60d380ce376da4b76fe7f4740 (diff)
data-device: touch grab stubs
Diffstat (limited to 'include')
-rw-r--r--include/wlr/types/wlr_data_device.h1
-rw-r--r--include/wlr/types/wlr_seat.h2
2 files changed, 3 insertions, 0 deletions
diff --git a/include/wlr/types/wlr_data_device.h b/include/wlr/types/wlr_data_device.h
index f45c15a2..6e8d0a73 100644
--- a/include/wlr/types/wlr_data_device.h
+++ b/include/wlr/types/wlr_data_device.h
@@ -53,6 +53,7 @@ struct wlr_data_source {
struct wlr_drag {
struct wlr_seat_pointer_grab pointer_grab;
struct wlr_seat_keyboard_grab keyboard_grab;
+ struct wlr_seat_touch_grab touch_grab;
struct wlr_seat_client *seat_client;
struct wlr_seat_client *focus_client;
diff --git a/include/wlr/types/wlr_seat.h b/include/wlr/types/wlr_seat.h
index f429fb8e..8950722f 100644
--- a/include/wlr/types/wlr_seat.h
+++ b/include/wlr/types/wlr_seat.h
@@ -143,6 +143,8 @@ struct wlr_seat_touch_state {
struct wlr_seat *seat;
struct wl_list touch_points; // wlr_touch_point::link
+ uint32_t grab_serial;
+
struct wlr_seat_touch_grab *grab;
struct wlr_seat_touch_grab *default_grab;
};