commit 7cb38e81b5256496acf4dcd97fc01081efc8fc1f
parent 71880b14d75012e757577fa858473e0a8916046b
Author: Christoph Lohmann <20h@r-36.net>
Date:   Mon, 20 May 2013 18:14:27 +0200
Fix issue with clicks on the tabbed border.
Thanks David Dufberg Tøttrup <david@dufberg.se>!
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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++) {