about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorgarbeam@gmail.com <unknown>2011-07-01 17:56:53 +0100
committergarbeam@gmail.com <unknown>2011-07-01 17:56:53 +0100
commit867ba360300682859ab963222ec0a3f42586ff54 (patch)
tree0e93d175b74d574e331f1ceacbc46a2adf702eb3
parente83f36db101c125fe17034125e63f86fbd6f0568 (diff)
downloaddwm-867ba360300682859ab963222ec0a3f42586ff54.tar.gz
applied Nicolas Capit's patch as interim solution until the multiscreen support is reworked in 6.0
-rw-r--r--dwm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dwm.c b/dwm.c
index a2582f1..f842b41 100644
--- a/dwm.c
+++ b/dwm.c
@@ -442,7 +442,7 @@ buttonpress(XEvent *e) {
 		}
 		else if(ev->x < x + blw)
 			click = ClkLtSymbol;
-		else if(ev->x > selmon->wx + selmon->ww - TEXTW(stext))
+		else if(ev->x > selmon->ww - TEXTW(stext))
 			click = ClkStatusText;
 		else
 			click = ClkWinTitle;