url-mode: allow locked modifiers while handling label letter input

This fixes an issue where labels couldn’t be activated if e.g. NumLock
was enabled.
This commit is contained in:
Daniel Eklöf 2022-04-20 21:50:49 +02:00
parent 6ed9a31007
commit dd03e10c6c
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F

View file

@ -173,7 +173,7 @@ urls_input(struct seat *seat, struct terminal *term,
return;
}
if (mods & ~consumed)
if (mods & ~consumed & ~locked)
return;
char32_t wc = xkb_state_key_get_utf32(seat->kbd.xkb_state, key);