fixed cleanup, using clients instead of sel

This commit is contained in:
arg@mig29 2007-01-02 14:40:18 +01:00
parent 9056d7ea88
commit b5d297f02f
1 changed files with 3 additions and 3 deletions

6
main.c
View File

@ -40,9 +40,9 @@ static Bool otherwm, readin;
static void static void
cleanup(void) { cleanup(void) {
close(STDIN_FILENO); close(STDIN_FILENO);
while(sel) { while(clients) {
resize(sel, True, TopLeft); resize(clients, True, TopLeft);
unmanage(sel); unmanage(clients);
} }
if(dc.font.set) if(dc.font.set)
XFreeFontSet(dpy, dc.font.set); XFreeFontSet(dpy, dc.font.set);