mirror of
https://github.com/leahneukirchen/cwm.git
synced 2023-08-10 21:13:12 +03:00
add comment why we mouse unbind, just like kbd
This commit is contained in:
parent
7f1851b8f6
commit
55edbe460d
1
conf.c
1
conf.c
@ -571,6 +571,7 @@ conf_mousebind(struct conf *c, char *name, char *binding)
|
|||||||
if (errstr)
|
if (errstr)
|
||||||
warnx("number of buttons is %s: %s", errstr, substring);
|
warnx("number of buttons is %s: %s", errstr, substring);
|
||||||
|
|
||||||
|
/* We now have the correct binding, remove duplicates. */
|
||||||
conf_mouseunbind(c, current_binding);
|
conf_mouseunbind(c, current_binding);
|
||||||
|
|
||||||
if (strcmp("unmap", binding) == 0) {
|
if (strcmp("unmap", binding) == 0) {
|
||||||
|
Loading…
Reference in New Issue
Block a user