]> git.mdlowis.com Git - proto/labwc.git/commit
keyboard: fallback on raw keysyms for bindings
authorJohan Malm <jgm323@gmail.com>
Mon, 17 Jul 2023 19:08:32 +0000 (20:08 +0100)
committerJohan Malm <johanmalm@users.noreply.github.com>
Tue, 18 Jul 2023 18:29:21 +0000 (19:29 +0100)
commitc6e2f667d37942e7c517e5c6591dd2a8164a1c9e
tree0aec136093072ce04a10fdf6b0a1ecfbc3ae656d
parent8686023b0f96ee3bb9a3c2c01b82868d0abb48a1
keyboard: fallback on raw keysyms for bindings

When looking up keybinds, if the translated keysyms (based on the keymap
for the keyboard) do not match a defined keybind, try raw keysyms (as if
there were no modifier translation).

This allows a user to define for example keybind with "S-1" rather than
"S-exclam". It also supports "W-S-Tab".

Fixes: issues #163 #365 #992
src/keyboard.c