mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-05 04:06:08 -05:00
config: add user-configured search-binding to the correct binding list
Search bindings were added to the normal key binding list...
This commit is contained in:
parent
ef7429d44a
commit
ddef95c297
1 changed files with 2 additions and 2 deletions
4
config.c
4
config.c
|
|
@ -989,12 +989,12 @@ parse_section_search_bindings(
|
|||
|
||||
/* Emit key bindings */
|
||||
tll_foreach(key_combos, it) {
|
||||
struct config_key_binding_normal binding = {
|
||||
struct config_key_binding_search binding = {
|
||||
.action = action,
|
||||
.modifiers = it->item.modifiers,
|
||||
.sym = it->item.sym,
|
||||
};
|
||||
tll_push_back(conf->bindings.key, binding);
|
||||
tll_push_back(conf->bindings.search, binding);
|
||||
}
|
||||
|
||||
free_key_combo_list(&key_combos);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue