input: relax requirements for overriding keypad application mode

Don’t require NumLock to be locked. Foot has no idea _which_ modifier
the user has mapped NumLock to, meaning we really cannot require it to
be locked.
This commit is contained in:
Daniel Eklöf 2020-12-01 18:27:56 +01:00
parent 282ca89168
commit c44c7cc5be
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
2 changed files with 1 additions and 9 deletions

View file

@ -163,7 +163,6 @@ 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;
@ -173,7 +172,6 @@ struct seat {
bool alt;
bool ctrl;
bool meta;
bool num;
struct {
tll(struct key_binding_normal) key;