about summary refs log tree commit diff stats
path: root/event.c
diff options
context:
space:
mode:
authorAnselm R. Garbe <arg@10kloc.org>2006-09-29 16:22:20 +0200
committerAnselm R. Garbe <arg@10kloc.org>2006-09-29 16:22:20 +0200
commitfee8df6ccf3ab1494421d422af252f7b3da3a811 (patch)
tree58341fa588b13698bdcb12bdd5ef2a24019ef449 /event.c
parent8fa47ac679cfd91c022a35f2469bea7396e5f7c7 (diff)
downloaddwm-fee8df6ccf3ab1494421d422af252f7b3da3a811.tar.gz
added the new dotile as described on ml
Diffstat (limited to 'event.c')
-rw-r--r--event.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/event.c b/event.c
index f4ac2d5..83e1b86 100644
--- a/event.c
+++ b/event.c
@@ -177,8 +177,9 @@ configurerequest(XEvent *e) {
 			configure(c);
 		XSync(dpy, False);
 		if(c->isfloat) {
-			if(isvisible(c))
-				resize(c, False, TopLeft);
+			resize(c, False, TopLeft);
+			if(!isvisible(c))
+				ban(c);
 		}
 		else
 			arrange(NULL);
id='n128' href='#n128'>128 129 130 131 132 133 134 135 136 137 138 139 140 141 142