diff -r 466591c2f967 -r 148f25ed0ad7 main.c --- a/main.c Thu Jul 13 17:09:35 2006 +0200 +++ b/main.c Thu Jul 13 18:21:38 2006 +0200 @@ -38,9 +38,8 @@ int screen, sx, sy, sw, sh, th; DC dc = {0}; -Client *cstart = NULL; -Client *cend = NULL; -Client *csel = NULL; +Client *clients = NULL; +Client *sel = NULL; static Bool other_wm_running; static const char version[] = @@ -169,8 +168,10 @@ static void cleanup() { - while(csel) - unmanage(csel); + while(sel) { + resize(sel); + unmanage(sel); + } XSetInputFocus(dpy, PointerRoot, RevertToPointerRoot, CurrentTime); }