about summary refs log tree commit diff stats
path: root/layout.c
diff options
context:
space:
mode:
authorAnselm R. Garbe <arg@suckless.org>2007-06-04 11:37:33 +0200
committerAnselm R. Garbe <arg@suckless.org>2007-06-04 11:37:33 +0200
commit5a1a2edf0e584e660e16d2e01094851e0f9161e2 (patch)
treeb56870066ccdb6459ec96dcf5d2facef20ae1e16 /layout.c
parentb3419f49a315e9ca0d0870878b353fafec1e3e5c (diff)
downloaddwm-5a1a2edf0e584e660e16d2e01094851e0f9161e2.tar.gz
applied anudots [un]ban repair patch
Diffstat (limited to 'layout.c')
-rw-r--r--layout.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/layout.c b/layout.c
index f3f8e26..0706c62 100644
--- a/layout.c
+++ b/layout.c
@@ -88,9 +88,7 @@ floating(void) {
 
 	for(c = clients; c; c = c->next)
 		if(isvisible(c)) {
-			if(c->isbanned)
-				XMoveWindow(dpy, c->win, c->x, c->y);
-			c->isbanned = False;
+			unban(c);
 			resize(c, c->x, c->y, c->w, c->h, True);
 		}
 		else