pinosaur
/
dwm.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
815f9c0
)
applied yiyus tagbar patch
author
Anselm R Garbe
<garbeam@gmail.com>
Mon, 1 Sep 2008 21:18:50 +0000
(22:18 +0100)
committer
Anselm R Garbe
<garbeam@gmail.com>
Mon, 1 Sep 2008 21:18:50 +0000
(22:18 +0100)
dwm.c
patch
|
blob
|
history
diff --git
a/dwm.c
b/dwm.c
index
2a4bacc
..
12871cd
100644
(file)
--- a/
dwm.c
+++ b/
dwm.c
@@
-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