aboutsummaryrefslogtreecommitdiff
path: root/wayland.h
diff options
context:
space:
mode:
authorNathan Reiner <nathan@nathanreiner.xyz>2023-04-17 17:27:15 +0200
committerNathan Reiner <nathan@nathanreiner.xyz>2023-04-17 17:27:15 +0200
commit74e9d116d6a40b54db4ec66101f6de5c6cc3f783 (patch)
treecf0b4bc0d19e31ed747a472ae971150e951f36e5 /wayland.h
parent68e408d22646c4d2a093029a907341d2943c5866 (diff)
add cursor selection
Diffstat (limited to 'wayland.h')
-rw-r--r--wayland.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/wayland.h b/wayland.h
index d5557a9..b12cd00 100644
--- a/wayland.h
+++ b/wayland.h
@@ -5,6 +5,7 @@
#include <xkbcommon/xkbcommon-keysyms.h>
#include <wayland-client.h>
#include <wayland-cursor.h>
+#include <linux/input-event-codes.h>
#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;