Fix issue with clicks on the tabbed border.

Thanks David Dufberg Tøttrup <david@dufberg.se>!
This commit is contained in:
Christoph Lohmann 2013-05-20 18:14:27 +02:00
parent 71880b14d7
commit 7cb38e81b5

View File

@ -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++) {