From b55bd709ee6d0b09c141bf5ffe0647866e0374ef Mon Sep 17 00:00:00 2001 From: "Anselm R. Garbe" Date: Fri, 25 Aug 2006 12:59:45 +0200 Subject: new color stuff/new rendering stuff --- event.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'event.c') diff --git a/event.c b/event.c index c2288f4c..86fb43b0 100644 --- a/event.c +++ b/event.c @@ -105,7 +105,9 @@ buttonpress(XEvent *e) XButtonPressedEvent *ev = &e->xbutton; if(barwin == ev->window) { - x = 0; + if(ev->x < modew) + return; + x = modew; for(a.i = 0; a.i < ntags; a.i++) { x += textw(tags[a.i]); if(ev->x < x) { -- cgit v1.2.3