From bb4b4ae43d64e9d51e01cfd5c983684ec1bfe381 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Ekl=C3=B6f?= Date: Sun, 5 Dec 2021 15:51:52 +0100 Subject: [PATCH] config: value_to_key_combos(): reset modifiers in binding --- config.c | 1 + 1 file changed, 1 insertion(+) diff --git a/config.c b/config.c index e82385a7..e1d9e0fc 100644 --- a/config.c +++ b/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;