diff options
author | Anselm R. Garbe <garbeam@wmii.de> | 2006-07-13 17:09:35 +0200 |
---|---|---|
committer | Anselm R. Garbe <garbeam@wmii.de> | 2006-07-13 17:09:35 +0200 |
commit | c47da143bdf5b4e3924a411f42648d4b3e86ff00 (patch) | |
tree | 4f777c8623600e707a8631e03925007f2a7cf57e /main.c | |
parent | b72588746f3d1548283ca98f90961b4f8c2e2800 (diff) |
implemented tagging a client
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 11 |
1 files changed, 6 insertions, 5 deletions
@@ -38,8 +38,9 @@ int tsel = Tdev; /* default tag */ 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 @@ startup_error_handler(Display *dpy, XErrorEvent *error) 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; } |