aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2022-04-20 19:50:49 +0000
committerDaniel Eklöf <daniel@ekloef.se>2022-04-20 19:50:49 +0000
commitdd03e10c6c2f27159f86c9e77f395c042ad50edf (patch)
treefa79db3f20bfde038a2104bafc7132dc8498f4f4
parentchangelog: move “re-mapping input” from “changed” to “added” (diff)
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.
-rw-r--r--url-mode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/url-mode.c b/url-mode.c
index 8a46c6bf..5ae1fd55 100644
--- a/url-mode.c
+++ b/url-mode.c
@@ -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);