aboutsummaryrefslogtreecommitdiff
path: root/include/wlr
diff options
context:
space:
mode:
authorTony Crisci <tony@dubstepdish.com>2017-10-16 06:31:53 -0400
committerTony Crisci <tony@dubstepdish.com>2017-10-16 06:31:53 -0400
commit3f3110452c28abf017bba7559ec9da7eabf099ea (patch)
tree8647d61a3572fa052277f8c71ef8260e64f23329 /include/wlr
parent34f27ff691d046355d68c7d6a2e0dfb438bd7755 (diff)
wlr-seat: pointer state button info
Diffstat (limited to 'include/wlr')
-rw-r--r--include/wlr/types/wlr_seat.h11
1 files changed, 8 insertions, 3 deletions
diff --git a/include/wlr/types/wlr_seat.h b/include/wlr/types/wlr_seat.h
index cc7a5927..f5d5c357 100644
--- a/include/wlr/types/wlr_seat.h
+++ b/include/wlr/types/wlr_seat.h
@@ -75,11 +75,16 @@ struct wlr_seat_pointer_state {
struct wlr_seat_handle *focused_handle;
struct wlr_surface *focused_surface;
- struct wl_listener surface_destroy;
- struct wl_listener resource_destroy;
-
struct wlr_seat_pointer_grab *grab;
struct wlr_seat_pointer_grab *default_grab;
+
+ uint32_t button_count;
+ uint32_t grab_button;
+ uint32_t grab_serial;
+ uint32_t grab_time;
+
+ struct wl_listener surface_destroy;
+ struct wl_listener resource_destroy;
};
struct wlr_seat_keyboard {