mirror of
https://github.com/labwc/labwc.git
synced 2026-02-05 04:06:33 -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. |
||
|---|---|---|
| .. | ||
| cursor.c | ||
| gestures.c | ||
| ime.c | ||
| input.c | ||
| key-state.c | ||
| keyboard.c | ||
| meson.build | ||
| tablet-pad.c | ||
| tablet.c | ||
| touch.c | ||