Explorar o código

fixed cleanup, using clients instead of sel

arg@mig29 %!s(int64=19) %!d(string=hai) anos
pai
achega
b5d297f02f
Modificáronse 1 ficheiros con 3 adicións e 3 borrados
  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);