summaryrefslogtreecommitdiff
path: root/dwm.c
diff options
context:
space:
mode:
Diffstat (limited to 'dwm.c')
-rw-r--r--dwm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dwm.c b/dwm.c
index 7ff8f2e..1653da8 100644
--- a/dwm.c
+++ b/dwm.c
@@ -589,7 +589,7 @@ buttonpress(XEvent *e)
click = ClkLtSymbol;
else if (ev->x > selmon->ww - statusw - getsystraywidth()) {
click = ClkStatusText;
- x = selmon->ww - statusw;
+ x = selmon->ww - statusw - getsystraywidth();
statussig = 0;
for (text = s = stext; *s && x <= ev->x; s++) {
if ((unsigned char)(*s) < ' ') {