wmii

git clone git://oldgit.suckless.org/wmii/
Log | Files | Refs | README | LICENSE

commit b047fc8748a7d24b34cf0fa26a62f8937eb8cf23
parent 03a80ed0d5ac792a1b94fc307e02b766ee69b25b
Author: Anselm R. Garbe <garbeam@wmii.de>
Date:   Thu,  9 Mar 2006 02:53:38 +0100

fixed LB event to contain label name instead of index, now going to sleep, really


Diffstat:
cmd/wm/event.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cmd/wm/event.c b/cmd/wm/event.c @@ -66,7 +66,7 @@ handle_buttonpress(XEvent *e) unsigned int i; for(i = 0; i < nlabel; i++) if(blitz_ispointinrect(ev->x, ev->y, &label[i]->rect)) { - snprintf(buf, sizeof(buf), "LB %d %d\n", i, ev->button); + snprintf(buf, sizeof(buf), "LB %s %d\n", label[i]->name, ev->button); write_event(buf); } }