From c47da143bdf5b4e3924a411f42648d4b3e86ff00 Mon Sep 17 00:00:00 2001 From: "Anselm R. Garbe" Date: Thu, 13 Jul 2006 17:09:35 +0200 Subject: implemented tagging a client --- main.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'main.c') diff --git a/main.c b/main.c index b63d07e..543d156 100644 --- a/main.c +++ b/main.c @@ -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; } -- cgit v1.2.3