about summary refs log tree commit diff stats
path: root/main.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 /main.c
parentb3419f49a315e9ca0d0870878b353fafec1e3e5c (diff)
downloaddwm-5a1a2edf0e584e660e16d2e01094851e0f9161e2.tar.gz
applied anudots [un]ban repair patch
Diffstat (limited to 'main.c')
-rw-r--r--main.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/main.c b/main.c
index 032fafa..471cfc2 100644
--- a/main.c
+++ b/main.c
@@ -38,8 +38,7 @@ static void
 cleanup(void) {
 	close(STDIN_FILENO);
 	while(stack) {
-		if(stack->isbanned)
-			XMoveWindow(dpy, stack->win, stack->x, stack->y);
+		unban(stack);
 		unmanage(stack);
 	}
 	if(dc.font.set)