diff options
author | Anselm R Garbe <anselm@garbe.us> | 2011-03-25 14:06:46 +0000 |
---|---|---|
committer | Anselm R Garbe <anselm@garbe.us> | 2011-03-25 14:06:46 +0000 |
commit | 96f9855248545d6e6da1aeece04e44a1f7246ccb (patch) | |
tree | 3b8b33cde26211db39cfeef1e2754a5aff9176c2 /dwm.c | |
parent | 3c48858ffada0825b62e52ac14b1feba4b7654a4 (diff) | |
download | dwm-96f9855248545d6e6da1aeece04e44a1f7246ccb.tar.gz dwm-96f9855248545d6e6da1aeece04e44a1f7246ccb.tar.bz2 dwm-96f9855248545d6e6da1aeece04e44a1f7246ccb.zip |
applied another patch of Hiltjo, thanks
Diffstat (limited to 'dwm.c')
-rw-r--r-- | dwm.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |