aboutsummaryrefslogtreecommitdiff
path: root/include/wlr
diff options
context:
space:
mode:
authorTony Crisci <tony@dubstepdish.com>2017-10-16 07:29:18 -0400
committerTony Crisci <tony@dubstepdish.com>2017-10-16 07:52:04 -0400
commit2d35e20691c86600fdb3a20dffdf71c765683e10 (patch)
treed5ecf7ac6131e033a4cde0f044bca15a19cff85f /include/wlr
parent570a951947be8def68d66ad3c9aff32756867f50 (diff)
data-device: keyboard grabs
Diffstat (limited to 'include/wlr')
-rw-r--r--include/wlr/types/wlr_data_device.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/wlr/types/wlr_data_device.h b/include/wlr/types/wlr_data_device.h
index b4aa024a..e1e1e516 100644
--- a/include/wlr/types/wlr_data_device.h
+++ b/include/wlr/types/wlr_data_device.h
@@ -7,6 +7,9 @@
extern const struct
wlr_pointer_grab_interface wlr_data_device_pointer_drag_interface;
+extern const struct
+wlr_keyboard_grab_interface wlr_data_device_keyboard_drag_interface;
+
struct wlr_data_device_manager {
struct wl_global *global;
};
@@ -49,6 +52,8 @@ struct wlr_data_source {
struct wlr_drag {
struct wlr_seat_pointer_grab pointer_grab;
+ struct wlr_seat_keyboard_grab keyboard_grab;
+
struct wlr_seat_handle *handle;
struct wlr_seat_handle *focus_handle;