From fe84e69990a9f156a818eb1547384812bc9db41c Mon Sep 17 00:00:00 2001 From: Nathan Reiner Date: Fri, 7 Apr 2023 23:05:42 +0200 Subject: add pointer support --- wayland.h | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'wayland.h') 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); -- cgit v1.2.3-70-g09d2