aboutsummaryrefslogtreecommitdiff
path: root/wayland.h
diff options
context:
space:
mode:
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;