diff options
author | Anselm R. Garbe <arg@10kloc.org> | 2006-08-25 12:59:45 +0200 |
---|---|---|
committer | Anselm R. Garbe <arg@10kloc.org> | 2006-08-25 12:59:45 +0200 |
commit | b55bd709ee6d0b09c141bf5ffe0647866e0374ef (patch) | |
tree | 50bb320829520b71e8280a298af162b0ba1508a2 /event.c | |
parent | 9833610356f7ce033589680fddf87000e5788774 (diff) | |
download | dwm-b55bd709ee6d0b09c141bf5ffe0647866e0374ef.tar.gz dwm-b55bd709ee6d0b09c141bf5ffe0647866e0374ef.tar.bz2 dwm-b55bd709ee6d0b09c141bf5ffe0647866e0374ef.zip |
new color stuff/new rendering stuff
Diffstat (limited to 'event.c')
-rw-r--r-- | event.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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) { |