applied another patch of Hiltjo, thanks
Anselm R Garbe anselm@garbe.us
Fri, 25 Mar 2011 14:06:46 +0000
1 files changed,
1 insertions(+),
1 deletions(-)
jump to
M
dwm.c
→
dwm.c
@@ -1365,7 +1365,7 @@ 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); - if(snap && c->mon->wx + nw >= selmon->wx && c->mon->wx + nw <= selmon->wx + selmon->ww + if(c->mon->wx + nw >= selmon->wx && c->mon->wx + nw <= selmon->wx + selmon->ww && c->mon->wy + nh >= selmon->wy && c->mon->wy + nh <= selmon->wy + selmon->wh) { if(!c->isfloating && selmon->lt[selmon->sellt]->arrange