diff options
| author | Nathan Reiner <nathan@nathanreiner.xyz> | 2023-04-17 17:27:15 +0200 |
|---|---|---|
| committer | Nathan Reiner <nathan@nathanreiner.xyz> | 2023-04-17 17:27:15 +0200 |
| commit | 74e9d116d6a40b54db4ec66101f6de5c6cc3f783 (patch) | |
| tree | cf0b4bc0d19e31ed747a472ae971150e951f36e5 /wayland.h | |
| parent | 68e408d22646c4d2a093029a907341d2943c5866 (diff) | |
add cursor selection
Diffstat (limited to 'wayland.h')
| -rw-r--r-- | wayland.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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; |