aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Lohmann <20h@r-36.net>2013-05-20 18:14:27 +0200
committerChristoph Lohmann <20h@r-36.net>2013-05-20 18:14:27 +0200
commit7cb38e81b5256496acf4dcd97fc01081efc8fc1f (patch)
treee24e16d36cbee421dfb549e3e2a062d6517c1e64
parent71880b14d75012e757577fa858473e0a8916046b (diff)
Fix issue with clicks on the tabbed border.
Thanks David Dufberg Tøttrup <david@dufberg.se>!
-rw-r--r--tabbed.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tabbed.c b/tabbed.c
index d071b2c..3d85f03 100644
--- a/tabbed.c
+++ b/tabbed.c
@@ -172,7 +172,7 @@ buttonpress(const XEvent *e) {
int i;
Arg arg;
- if(getfirsttab() != 0 && ev->x < TEXTW(before))
+ if((getfirsttab() != 0 && ev->x < TEXTW(before)) || ev->x < 0)
return;
for(i = 0; i < nclients; i++) {