summaryrefslogtreecommitdiffstats
path: root/dwm.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--dwm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/dwm.c b/dwm.c
index 77a91ac..c9a6b0a 100644
--- a/dwm.c
+++ b/dwm.c
@@ -1147,8 +1147,8 @@ resizemouse(const Arg *arg) {
1147 handler[ev.type](&ev); 1147 handler[ev.type](&ev);
1148 break; 1148 break;
1149 case MotionNotify: 1149 case MotionNotify:
1150 nw = MAX(ev.xmotion.x - ocx - 2*c->bw + 1, 1); 1150 nw = MAX(ev.xmotion.x - ocx - 2 * c->bw + 1, 1);
1151 nh = MAX(ev.xmotion.y - ocy - 2*c->bw + 1, 1); 1151 nh = MAX(ev.xmotion.y - ocy - 2 * c->bw + 1, 1);
1152 1152
1153 if(snap && nw >= wx && nw <= wx + ww 1153 if(snap && nw >= wx && nw <= wx + ww
1154 && nh >= wy && nh <= wy + wh) { 1154 && nh >= wy && nh <= wy + wh) {