aboutsummaryrefslogtreecommitdiff
path: root/wayland.h
diff options
context:
space:
mode:
Diffstat (limited to 'wayland.h')
-rw-r--r--wayland.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/wayland.h b/wayland.h
index 9e6a602..5d12ac5 100644
--- a/wayland.h
+++ b/wayland.h
@@ -33,6 +33,17 @@ typedef struct {
int period;
} repeat;
} kb;
+ struct {
+ struct wl_pointer *pointer;
+ struct {
+ uint32_t x;
+ uint32_t y;
+ } position;
+ struct {
+ uint32_t button;
+ uint32_t state;
+ } buttons;
+ } pointer;
} Client;
int allocate_shm_file(size_t size);