Browse Source

fixed cleanup, using clients instead of sel

arg@mig29 19 years ago
parent
commit
b5d297f02f
1 changed files with 3 additions and 3 deletions
  1. 3 3
      main.c

+ 3 - 3
main.c

@@ -40,9 +40,9 @@ static Bool otherwm, readin;
 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);