mirror of
https://github.com/labwc/labwc.git
synced 2025-11-05 13:29:58 -05:00
update_keycodes_iter() currently has 4(!) levels of nested loops, which makes the logic (especially the break/continue statements) difficult to understand. The logic also appears to continue looping uselessly after a given keycode has already been added to a keybind. Refactor by adding some small utility functions: - keybind_contains_keycode() - keybind_contains_keysym() - keybind_contains_any_keysym() No functional change intended. |
||
|---|---|---|
| .. | ||
| default-bindings.h | ||
| keybind.h | ||
| libinput.h | ||
| mousebind.h | ||
| rcxml.h | ||
| session.h | ||
| tablet-tool.h | ||
| tablet.h | ||
| touch.h | ||