From bdaf20ba71fe9ae5222f259e286f627c36603732 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 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; -- cgit v1.3