aboutsummaryrefslogtreecommitdiff
path: root/wayland.h
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2020-07-09 09:20:46 +0000
committerDaniel Eklöf <daniel@ekloef.se>2020-07-09 09:20:46 +0000
commit71584aed388935908588686e5df7ec42855f3698 (patch)
tree45f18ee6e99049470da32290ebf18d745d7619ce /wayland.h
parentmulti-seat: improve handling of multiple (mouse) pointers (diff)
seat: use separate 'enter' serials for keyboard and mouse
Diffstat (limited to 'wayland.h')
-rw-r--r--wayland.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/wayland.h b/wayland.h
index f703883e..0b136c04 100644
--- a/wayland.h
+++ b/wayland.h
@@ -106,6 +106,8 @@ struct seat {
/* Keyboard state */
struct wl_keyboard *wl_keyboard;
struct {
+ uint32_t serial;
+
struct xkb_context *xkb;
struct xkb_keymap *xkb_keymap;
struct xkb_state *xkb_state;
@@ -171,7 +173,6 @@ struct seat {
} mouse;
/* Clipboard */
- uint32_t input_serial;
struct wl_data_device *data_device;
struct zwp_primary_selection_device_v1 *primary_selection_device;