aboutsummaryrefslogtreecommitdiff
path: root/debug.h
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2022-03-19 17:59:15 +0000
committerDaniel Eklöf <daniel@ekloef.se>2022-03-20 12:29:29 +0000
commit1e63dddb89a27de702fced65d7b6ba3b39812bb9 (patch)
treea8d05fbefb5cd35d977df06c4b8a197d516f2011 /debug.h
parentchar32: only include stdc-predef.h if it is available (diff)
input: don’t allow non-significant modifiers when matching untranslated symbols
When matching “untranslated” bindings (by matching the base symbol of the key, e.g. ctrl+shift+2 in US layout), require that no non-significant modifiers are active. This fixes an issue where AltGr was “ignored”, and would cause certain combinations to match a key binding. Example: ctrl+altgr+0, on many European layouts matched against the default ctrl+0 (reset the font size), instead of emitting ^] To make this work, we now need to filter out “locked” modifiers (e.g. NumLock and CapsLock). Otherwise having e.g. NumLock active would prevent *all* untranslated matching to fail. Closes #983
Diffstat (limited to 'debug.h')
0 files changed, 0 insertions, 0 deletions