author | Anselm R Garbe <garbeam@gmail.com> |
Mon, 01 Sep 2008 22:18:50 +0100 | |
changeset 1351 | 3f66d2d2cd6e |
parent 1350 | d95d9bae4dc3 |
child 1352 | eb1eb9811706 |
--- a/dwm.c Mon Sep 01 08:22:11 2008 +0000 +++ b/dwm.c Mon Sep 01 22:18:50 2008 +0100 @@ -331,7 +331,7 @@ 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