# HG changeset patch
# User arg@mig29
# Date 1167745218 -3600
# Node ID 107719a9ce3bd0c79f9f1f626596eb338a276561
# Parent  9cd88c168f41c7df57fef1fb3bc5306eb15f50fb
fixed cleanup, using clients instead of sel

diff -r 9cd88c168f41 -r 107719a9ce3b main.c
--- a/main.c	Tue Jan 02 12:28:02 2007 +0100
+++ b/main.c	Tue Jan 02 14:40:18 2007 +0100
@@ -40,9 +40,9 @@
 static void
 cleanup(void) {
 	close(STDIN_FILENO);
-	while(sel) {
-		resize(sel, True, TopLeft);
-		unmanage(sel);
+	while(clients) {
+		resize(clients, True, TopLeft);
+		unmanage(clients);
 	}
 	if(dc.font.set)
 		XFreeFontSet(dpy, dc.font.set);