fix status bar click
@@ -663,7 +663,7 @@ buttonpress(XEvent *e)
} else if (ev->x < x + blw)
click = ClkLtSymbol;
/* 2px right padding */
- else if (ev->x > selmon->ww - TEXTW(stext) + lrpad - 2)
+ else if (ev->x > selmon->ww - getsystraywidth() - TEXTW(stext) + lrpad - 2)
click = ClkStatusText;
else {
if (selmon->stack) {
