From dd03e10c6c2f27159f86c9e77f395c042ad50edf Mon Sep 17 00:00:00 2001 From: Daniel Eklöf Date: Wed, 20 Apr 2022 21:50:49 +0200 Subject: url-mode: allow locked modifiers while handling label letter input MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This fixes an issue where labels couldn’t be activated if e.g. NumLock was enabled. --- url-mode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit v1.3