aewl

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 diff
     1.1 --- a/main.c	Thu Jul 13 14:33:22 2006 +0200
     1.2 +++ b/main.c	Thu Jul 13 17:09:35 2006 +0200
     1.3 @@ -38,8 +38,9 @@
     1.4  int screen, sx, sy, sw, sh, th;
     1.5  
     1.6  DC dc = {0};
     1.7 -Client *clients = NULL;
     1.8 -Client *stack = NULL;
     1.9 +Client *cstart = NULL;
    1.10 +Client *cend = NULL;
    1.11 +Client *csel = NULL;
    1.12  
    1.13  static Bool other_wm_running;
    1.14  static const char version[] =
    1.15 @@ -168,13 +169,13 @@
    1.16  static void
    1.17  cleanup()
    1.18  {
    1.19 -	while(clients)
    1.20 -		unmanage(clients);
    1.21 +	while(csel)
    1.22 +		unmanage(csel);
    1.23  	XSetInputFocus(dpy, PointerRoot, RevertToPointerRoot, CurrentTime);
    1.24  }
    1.25  
    1.26  void
    1.27 -quit(void *aux)
    1.28 +quit(Arg *arg)
    1.29  {
    1.30  	running = False;
    1.31  }