tapplied yiyus tagbar patch - dwm - [fork] customized build of dwm, the dynamic window manager
HTML git clone git://src.adamsgaard.dk/dwm
DIR Log
DIR Files
DIR Refs
DIR README
DIR LICENSE
---
DIR commit d15d4ba45abe06f5ac069e384bd7b46b55c0d286
DIR parent 815f9c054d1d1fe0c0878f01399561d7758bf1ce
HTML Author: Anselm R Garbe <garbeam@gmail.com>
Date: Mon, 1 Sep 2008 22:18:50 +0100
applied yiyus tagbar patch
Diffstat:
M dwm.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
DIR diff --git a/dwm.c b/dwm.c
t@@ -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