summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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++) {