mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-11 05:33:55 -04: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 */
|
/* Emit key bindings */
|
||||||
tll_foreach(key_combos, it) {
|
tll_foreach(key_combos, it) {
|
||||||
struct config_key_binding_normal binding = {
|
struct config_key_binding_search binding = {
|
||||||
.action = action,
|
.action = action,
|
||||||
.modifiers = it->item.modifiers,
|
.modifiers = it->item.modifiers,
|
||||||
.sym = it->item.sym,
|
.sym = it->item.sym,
|
||||||
};
|
};
|
||||||
tll_push_back(conf->bindings.key, binding);
|
tll_push_back(conf->bindings.search, binding);
|
||||||
}
|
}
|
||||||
|
|
||||||
free_key_combo_list(&key_combos);
|
free_key_combo_list(&key_combos);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue