url-mode: ignore keys with modifiers

This commit is contained in:
Daniel Eklöf 2021-03-04 09:36:25 +01:00
parent be00de4849
commit 93b02cf2b8
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F

View file

@ -161,6 +161,9 @@ urls_input(struct seat *seat, struct terminal *term, uint32_t key,
return;
}
if (mods & ~consumed)
return;
wchar_t wc = xkb_state_key_get_utf32(seat->kbd.xkb_state, key);
/*