From 4f0d05724364dc5fa1def6b077bd32c65d1f77ba Mon Sep 17 00:00:00 2001 From: Daniel Eklöf Date: Wed, 11 Nov 2020 18:28:13 +0100 Subject: input: track num lock state --- wayland.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'wayland.h') 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; -- cgit v1.3