mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-05 04:06:08 -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) {
|
||||
/* No modifiers */
|
||||
key = combo;
|
||||
new_combo->modifiers = (struct config_key_modifiers){0};
|
||||
} else {
|
||||
if (!parse_modifiers(ctx, combo, key - combo, &new_combo->modifiers))
|
||||
goto err;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue