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 9a33559fda
commit f6aa1495d7
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
2 changed files with 1 additions and 9 deletions

View file

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