diff options
author | okan | 2012-11-07 21:04:55 +0000 |
---|---|---|
committer | okan | 2012-11-07 21:04:55 +0000 |
commit | cd312582d85e9bae6ecccf6b5bc9a290bd27d45f (patch) | |
tree | 4ed5b7828c700fd592ddbbf2068109914f685fcd /conf.c | |
parent | 0bd14905e612391c672edf3787194ce894727178 (diff) | |
download | cwm-cd312582d85e9bae6ecccf6b5bc9a290bd27d45f.tar.gz |
add comment why we mouse unbind, just like kbd
Diffstat (limited to 'conf.c')
-rw-r--r-- | conf.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -15,7 +15,7 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * $OpenBSD: conf.c,v 1.105 2012/11/07 21:01:48 okan Exp $ + * $OpenBSD: conf.c,v 1.106 2012/11/07 21:04:55 okan Exp $ */ #include <sys/param.h> @@ -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) { |