fixed cleanup, using clients instead of sel 2.8
authorarg@mig29
Tue, 02 Jan 2007 14:40:18 +0100
changeset 641 107719a9ce3b
parent 640 9cd88c168f41
child 642 cc1189985efb
fixed cleanup, using clients instead of sel
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);