about summary refs log tree commit diff
diff options
context:
space:
mode:
authorokan <okan>2012-11-07 21:04:55 +0000
committerokan <okan>2012-11-07 21:04:55 +0000
commit55edbe460da2a91aa80555e1b2af417307fc5004 (patch)
treee6e69fbbc7ba4dcfacfe6a869f8db4046c5c1988
parent7f1851b8f60ad4aead8668e8ea37e8e85d315383 (diff)
downloadcwm-55edbe460da2a91aa80555e1b2af417307fc5004.tar.gz
cwm-55edbe460da2a91aa80555e1b2af417307fc5004.tar.xz
cwm-55edbe460da2a91aa80555e1b2af417307fc5004.zip
add comment why we mouse unbind, just like kbd
-rw-r--r--conf.c1
1 files changed, 1 insertions, 0 deletions
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) {