aboutsummaryrefslogtreecommitdiff
path: root/wayland.h
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2020-11-11 17:28:13 +0000
committerDaniel Eklöf <daniel@ekloef.se>2020-12-01 18:39:05 +0000
commit4f0d05724364dc5fa1def6b077bd32c65d1f77ba (patch)
tree12f4c96754b2e60db56fc8afe7d9352a4d73ae51 /wayland.h
parentcsi: implement “CSI ? 1035” - toggle Num Lock override (diff)
input: track num lock state
Diffstat (limited to 'wayland.h')
-rw-r--r--wayland.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/wayland.h b/wayland.h
index 70c2098a..149d7c00 100644
--- a/wayland.h
+++ b/wayland.h
@@ -148,6 +148,7 @@ struct seat {
xkb_mod_index_t mod_alt;
xkb_mod_index_t mod_ctrl;
xkb_mod_index_t mod_meta;
+ xkb_mod_index_t mod_num;
xkb_keycode_t key_arrow_up;
xkb_keycode_t key_arrow_down;
@@ -157,6 +158,7 @@ struct seat {
bool alt;
bool ctrl;
bool meta;
+ bool num;
struct {
tll(struct key_binding_normal) key;