aboutsummaryrefslogtreecommitdiff
path: root/wayland.h
diff options
context:
space:
mode:
authorNathan Reiner <nathan@nathanreiner.xyz>2023-04-07 23:05:42 +0200
committerNathan Reiner <nathan@nathanreiner.xyz>2023-04-07 23:05:42 +0200
commitfe84e69990a9f156a818eb1547384812bc9db41c (patch)
treefd088810599fff47e26026150fa708bc5621d0dd /wayland.h
parent77d32cb5e492d68f871516c171d192d755e7c4c6 (diff)
add pointer support
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);