diff options
| author | Nathan Reiner <nathan@nathanreiner.xyz> | 2023-04-07 23:05:42 +0200 |
|---|---|---|
| committer | Nathan Reiner <nathan@nathanreiner.xyz> | 2023-04-07 23:05:42 +0200 |
| commit | fe84e69990a9f156a818eb1547384812bc9db41c (patch) | |
| tree | fd088810599fff47e26026150fa708bc5621d0dd /wayland.h | |
| parent | 77d32cb5e492d68f871516c171d192d755e7c4c6 (diff) | |
add pointer support
Diffstat (limited to 'wayland.h')
| -rw-r--r-- | wayland.h | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -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); |