summaryrefslogtreecommitdiffstats
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 4a8ee32..7b5fa4e 100644
--- a/dwm.c
+++ b/dwm.c
@@ -1202,7 +1202,7 @@ movemouse(const Arg *arg) {
1202 case MotionNotify: 1202 case MotionNotify:
1203 nx = ocx + (ev.xmotion.x - x); 1203 nx = ocx + (ev.xmotion.x - x);
1204 ny = ocy + (ev.xmotion.y - y); 1204 ny = ocy + (ev.xmotion.y - y);
1205 if(snap && nx >= selmon->wx && nx <= selmon->wx + selmon->ww 1205 if(nx >= selmon->wx && nx <= selmon->wx + selmon->ww
1206 && ny >= selmon->wy && ny <= selmon->wy + selmon->wh) { 1206 && ny >= selmon->wy && ny <= selmon->wy + selmon->wh) {
1207 if(abs(selmon->wx - nx) < snap) 1207 if(abs(selmon->wx - nx) < snap)
1208 nx = selmon->wx; 1208 nx = selmon->wx;