From 74e9d116d6a40b54db4ec66101f6de5c6cc3f783 Mon Sep 17 00:00:00 2001 From: Nathan Reiner Date: Mon, 17 Apr 2023 17:27:15 +0200 Subject: add cursor selection --- wayland.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'wayland.h') diff --git a/wayland.h b/wayland.h index d5557a9..b12cd00 100644 --- a/wayland.h +++ b/wayland.h @@ -5,6 +5,7 @@ #include #include #include +#include #include "xdg-shell-client-protocol.h" typedef enum { @@ -63,7 +64,8 @@ typedef struct { } position; struct { uint32_t button; - uint32_t state; + uint8_t click_combo; + uint32_t tclick; } buttons; } pointer; } Client; -- cgit v1.2.3-70-g09d2