From 6458d72572a30d2cc4af3385755033b2cca93057 Mon Sep 17 00:00:00 2001 From: "Anselm R. Garbe" Date: Fri, 14 Jul 2006 10:34:07 +0200 Subject: made barclick to select the specific tag --- event.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'event.c') diff --git a/event.c b/event.c index c55be0fb..4edf1390 100644 --- a/event.c +++ b/event.c @@ -50,7 +50,9 @@ buttonpress(XEvent *e) XButtonPressedEvent *ev = &e->xbutton; Client *c; - if((c = getclient(ev->window))) { + if(barwin == ev->window) + barclick(ev); + else if((c = getclient(ev->window))) { craise(c); switch(ev->button) { default: -- cgit v1.2.3