]> git.mdlowis.com Git - proto/labwc.git/commit
keyboard: break up handle_compositor_keybindings()
authorJohn Lindgren <john@jlindgren.net>
Wed, 15 Nov 2023 16:33:55 +0000 (11:33 -0500)
committerJohan Malm <johanmalm@users.noreply.github.com>
Thu, 30 Nov 2023 20:42:16 +0000 (20:42 +0000)
commit738ae6c5d5a3378429d4cae7272b56f977280a2a
treec4ab9cae2734ac77d91d76e8283566780034d422
parent83e67b32b6194917a4fd47e875809b3be632dfa8
keyboard: break up handle_compositor_keybindings()

This function has grown quite large over time. Breaking out various
smaller functions makes the logic easier to follow.

No functional change intended, but there is a minor logical change:

- Due to factoring out match_keybinding(), each keypress can only
  match a single keybinding now. Previously, it was theoretically
  possible for a single keypress to map to multiple keysyms which could
  each match a different keybinding.
src/input/keyboard.c