applied another patch of Hiltjo, thanks 96f98552
Anselm R Garbe · 2011-03-25 14:06 1 file(s) · +1 −1
dwm.c +1 −1
1365 1365
		case MotionNotify:
1366 1366
			nw = MAX(ev.xmotion.x - ocx - 2 * c->bw + 1, 1);
1367 1367
			nh = MAX(ev.xmotion.y - ocy - 2 * c->bw + 1, 1);
1368 -
			if(snap && c->mon->wx + nw >= selmon->wx && c->mon->wx + nw <= selmon->wx + selmon->ww
1368 +
			if(c->mon->wx + nw >= selmon->wx && c->mon->wx + nw <= selmon->wx + selmon->ww
1369 1369
			&& c->mon->wy + nh >= selmon->wy && c->mon->wy + nh <= selmon->wy + selmon->wh)
1370 1370
			{
1371 1371
				if(!c->isfloating && selmon->lt[selmon->sellt]->arrange