]> git.mdlowis.com Git - proto/labwc.git/commit
keyboard: fix virtual keyboard bug
authorJohan Malm <jgm323@gmail.com>
Thu, 28 Dec 2023 17:47:52 +0000 (17:47 +0000)
committerConsolatis <35009135+Consolatis@users.noreply.github.com>
Thu, 28 Dec 2023 18:00:49 +0000 (19:00 +0100)
commite77dddbc59836b2a4250529433b5f11399722d16
tree5c923aacf2d644a5f42abaf798901755dc35ac4d
parent7c593517749cf58b91f74d453cd13f06c433a4e7
keyboard: fix virtual keyboard bug

Do no process virtual keyboard keycodes (just the keysyms).

Reproduce bug by issuing `wlrctl keyboard type xyz` and observe only 'x'
when 'xyz' was expected.

The 'y' and 'z' were matched in match_keybinding() in the keycode section and
returned keybinds for `XF86_AudioLowerVolume` and `XF86_AudioRaiseVolume`
respectively.

Fixes: #1367
src/input/keyboard.c