changeset: 1533:ba7d976f74d3
tag: tip
user: Anselm R Garbe <anselm_AT_garbe.us>
date: Fri Mar 25 14:06:46 2011 +0000
files: dwm.c
description:
applied another patch of Hiltjo, thanks
diff -r ccd93198b069 -r ba7d976f74d3 dwm.c
--- a/dwm.c Fri Mar 25 13:57:54 2011 +0000
+++ b/dwm.c Fri Mar 25 14:06:46 2011 +0000
@@ -1365,7 +1365,7 @@
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
Received on Fri Mar 25 2011 - 15:06:48 CET
This archive was generated by hypermail 2.2.0 : Fri Mar 25 2011 - 15:12:05 CET