Fix issue with clicks on the tabbed border. - tabbed - tab interface for applic… | |
git clone git://git.suckless.org/tabbed | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit 7cb38e81b5256496acf4dcd97fc01081efc8fc1f | |
parent 71880b14d75012e757577fa858473e0a8916046b | |
Author: Christoph Lohmann <[email protected]> | |
Date: Mon, 20 May 2013 18:14:27 +0200 | |
Fix issue with clicks on the tabbed border. | |
Thanks David Dufberg Tøttrup <[email protected]>! | |
Diffstat: | |
M tabbed.c | 2 +- | |
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++) { |