diff options
author | Anselm R Garbe <garbeam@gmail.com> | 2008-09-01 22:18:50 +0100 |
---|---|---|
committer | Anselm R Garbe <garbeam@gmail.com> | 2008-09-01 22:18:50 +0100 |
commit | d15d4ba45abe06f5ac069e384bd7b46b55c0d286 (patch) | |
tree | d4021d442186c778ebaaaad0f84f6599104326f1 | |
parent | 815f9c054d1d1fe0c0878f01399561d7758bf1ce (diff) | |
download | dwm-d15d4ba45abe06f5ac069e384bd7b46b55c0d286.tar dwm-d15d4ba45abe06f5ac069e384bd7b46b55c0d286.tar.gz dwm-d15d4ba45abe06f5ac069e384bd7b46b55c0d286.tar.bz2 |
applied yiyus tagbar patch
-rw-r--r-- | dwm.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -331,7 +331,7 @@ buttonpress(XEvent *e) { for(i = 0; i < LENGTH(buttons); i++) if(click == buttons[i].click && buttons[i].func && buttons[i].button == ev->button && CLEANMASK(buttons[i].mask) == CLEANMASK(ev->state)) - buttons[i].func(click == ClkTagBar ? &arg : &buttons[i].arg); + buttons[i].func(click == ClkTagBar && buttons[i].arg.i == 0 ? &arg : &buttons[i].arg); } void |