diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2021-12-05 14:51:52 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2021-12-11 19:19:11 +0000 |
| commit | bb4b4ae43d64e9d51e01cfd5c983684ec1bfe381 (patch) | |
| tree | 34b1515a584be0863204f26f1b335ad90f153a8b | |
| parent | main: ignore SIGPIPE (diff) | |
config: value_to_key_combos(): reset modifiers in binding
| -rw-r--r-- | config.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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; |
