aboutsummaryrefslogtreecommitdiff
path: root/include/wlr
diff options
context:
space:
mode:
authorTony Crisci <tony@dubstepdish.com>2017-12-27 18:58:43 -0500
committerTony Crisci <tony@dubstepdish.com>2017-12-27 18:58:43 -0500
commite8b810ce3e5cd4a10d86c77eb7b559358b4af6c3 (patch)
tree9cd357fc177be06743e14e4cccc2922955dc1e55 /include/wlr
parenta0d2a6b445f33b608019809f581a80d28062178d (diff)
keep track of number of keycodes pressed
Diffstat (limited to 'include/wlr')
-rw-r--r--include/wlr/types/wlr_keyboard.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/wlr/types/wlr_keyboard.h b/include/wlr/types/wlr_keyboard.h
index 450cd473..d32d6e96 100644
--- a/include/wlr/types/wlr_keyboard.h
+++ b/include/wlr/types/wlr_keyboard.h
@@ -44,6 +44,7 @@ struct wlr_keyboard {
xkb_mod_index_t mod_indexes[WLR_MODIFIER_COUNT];
uint32_t keycodes[WLR_KEYBOARD_KEYS_CAP];
+ size_t num_keycodes;
struct {
xkb_mod_mask_t depressed;
xkb_mod_mask_t latched;