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);