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