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-11-11 17:28:13 +0000
commitbdaf20ba71fe9ae5222f259e286f627c36603732 (patch)
treeb9daefce06dd1158ea30598fce29acd9233ccf07 /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 ac6dd9a7..7bf5eb80 100644
--- a/wayland.h
+++ b/wayland.h
@@ -163,6 +163,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;
@@ -172,6 +173,7 @@ struct seat {
bool alt;
bool ctrl;
bool meta;
+ bool num;
struct {
tll(struct key_binding_normal) key;