mirror of
https://github.com/labwc/labwc.git
synced 2025-11-05 13:29:58 -05:00
This restores the intended behavior of keybinds set by `<default />` to be overwritten by manually configured keybinds which come later in the config. In `src/keyboard.c`, `handle_keybinding()` is going backwards through the list of keybindings and breaks after the first match. `wl_list_insert(&list_node, item)` will insert the new item *after* the list_node so if its called multiple times with the same list_node as fist argument the result will be a reversed list. Using `list_node.prev` instead will result in a non-reversed list. |
||
|---|---|---|
| .. | ||
| keybind.c | ||
| libinput.c | ||
| meson.build | ||
| mousebind.c | ||
| rcxml.c | ||
| session.c | ||