mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-04 01:40:21 -05:00
config: value_to_key_combos(): reset modifiers in binding
This commit is contained in:
parent
e67639a682
commit
bb4b4ae43d
1 changed files with 1 additions and 0 deletions
1
config.c
1
config.c
|
|
@ -1661,6 +1661,7 @@ value_to_key_combos(struct context *ctx, int action, struct argv *argv,
|
||||||
if (key == NULL) {
|
if (key == NULL) {
|
||||||
/* No modifiers */
|
/* No modifiers */
|
||||||
key = combo;
|
key = combo;
|
||||||
|
new_combo->modifiers = (struct config_key_modifiers){0};
|
||||||
} else {
|
} else {
|
||||||
if (!parse_modifiers(ctx, combo, key - combo, &new_combo->modifiers))
|
if (!parse_modifiers(ctx, combo, key - combo, &new_combo->modifiers))
|
||||||
goto err;
|
goto err;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue