about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--main.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/main.c b/main.c
index c42d1ff..5a22982 100644
--- a/main.c
+++ b/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);