diff -r ef09cf3eee26 -r add6eb26ebaa dwm.c --- a/dwm.c Sat Dec 20 00:02:56 2008 +0000 +++ b/dwm.c Sat Dec 20 12:02:14 2008 +0000 @@ -1147,8 +1147,8 @@ handler[ev.type](&ev); break; case MotionNotify: - nw = MAX(ev.xmotion.x - ocx - 2*c->bw + 1, 1); - nh = MAX(ev.xmotion.y - ocy - 2*c->bw + 1, 1); + nw = MAX(ev.xmotion.x - ocx - 2 * c->bw + 1, 1); + nh = MAX(ev.xmotion.y - ocy - 2 * c->bw + 1, 1); if(snap && nw >= wx && nw <= wx + ww && nh >= wy && nh <= wy + wh) {