diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2020-11-06 18:28:38 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2020-11-06 18:30:05 +0000 |
| commit | 398f0b699ac89efc49fcf0d7fc10b26e4374aa97 (patch) | |
| tree | 62cdef14a793a40a359adcb980af0774c2a89007 | |
| parent | config: break out “[cmd arg1 arg2]” parsing to separate function (diff) | |
config: mouse combos: set count=1 if user has omitted click count
| -rw-r--r-- | config.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) { |
