diff --git a/conf.c b/conf.c index 1e8415f..bf063d5 100644 --- a/conf.c +++ b/conf.c @@ -571,6 +571,7 @@ conf_mousebind(struct conf *c, char *name, char *binding) if (errstr) warnx("number of buttons is %s: %s", errstr, substring); + /* We now have the correct binding, remove duplicates. */ conf_mouseunbind(c, current_binding); if (strcmp("unmap", binding) == 0) {