X-Git-Url: https://jasonwoof.com/gitweb/?p=dwm.git;a=blobdiff_plain;f=main.c;h=47749fe3215b2470b979b5076268155449211277;hp=c3526aa6d78989efabced020a0ef21fa27051ab7;hb=6a9300e8158ec0c35d92f09e886c653758408948;hpb=ac24f132dba7e59d9d9ff98d984f5e0b0d20fd09 diff --git a/main.c b/main.c index c3526aa..47749fe 100644 --- a/main.c +++ b/main.c @@ -40,9 +40,9 @@ static Bool otherwm, readin; static void cleanup(void) { close(STDIN_FILENO); - while(clients) { - resize(clients, True, TopLeft); - unmanage(clients); + while(stack) { + resize(stack, True, TopLeft); + unmanage(stack); } if(dc.font.set) XFreeFontSet(dpy, dc.font.set);