Mercurial > dwm-meillo
diff main.c @ 50:148f25ed0ad7
several other additions/fixes, dwm is quite usable already
author | Anselm R. Garbe <garbeam@wmii.de> |
---|---|
date | Thu, 13 Jul 2006 18:21:38 +0200 |
parents | 466591c2f967 |
children | 035617ee18d1 |
line wrap: on
line diff
--- 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); }