Mercurial > dwm-meillo
diff main.c @ 49:466591c2f967
implemented tagging a client
author | Anselm R. Garbe <garbeam@wmii.de> |
---|---|
date | Thu, 13 Jul 2006 17:09:35 +0200 |
parents | 989178822938 |
children | 148f25ed0ad7 |
line wrap: on
line diff
--- a/main.c Thu Jul 13 14:33:22 2006 +0200 +++ b/main.c Thu Jul 13 17:09:35 2006 +0200 @@ -38,8 +38,9 @@ int screen, sx, sy, sw, sh, th; DC dc = {0}; -Client *clients = NULL; -Client *stack = NULL; +Client *cstart = NULL; +Client *cend = NULL; +Client *csel = NULL; static Bool other_wm_running; static const char version[] = @@ -168,13 +169,13 @@ static void cleanup() { - while(clients) - unmanage(clients); + while(csel) + unmanage(csel); XSetInputFocus(dpy, PointerRoot, RevertToPointerRoot, CurrentTime); } void -quit(void *aux) +quit(Arg *arg) { running = False; }