From 398f0b699ac89efc49fcf0d7fc10b26e4374aa97 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Ekl=C3=B6f?= Date: Fri, 6 Nov 2020 19:28:38 +0100 Subject: [PATCH] config: mouse combos: set count=1 if user has omitted click count --- config.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.c b/config.c index 8384174a..c460c987 100644 --- a/config.c +++ b/config.c @@ -1381,7 +1381,7 @@ parse_mouse_combos(struct config *conf, const char *combos, key_combo_list_t *ke key++; /* Skip past the '+' */ } - size_t count = 0; + size_t count = 1; { char *_count = strrchr(key, '-'); if (_count != NULL) {