From 96f9855248545d6e6da1aeece04e44a1f7246ccb Mon Sep 17 00:00:00 2001 From: Anselm R Garbe Date: Fri, 25 Mar 2011 14:06:46 +0000 Subject: applied another patch of Hiltjo, thanks --- dwm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dwm.c') diff --git a/dwm.c b/dwm.c index 7b5fa4e3..1297b2b0 100644 --- a/dwm.c +++ b/dwm.c @@ -1365,7 +1365,7 @@ resizemouse(const Arg *arg) { 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 -- cgit v1.2.3