removed aux* stuff from Client
authorAnselm R Garbe <garbeam@gmail.com>
Wed, 2 Jul 2008 10:54:36 +0000 (11:54 +0100)
committerAnselm R Garbe <garbeam@gmail.com>
Wed, 2 Jul 2008 10:54:36 +0000 (11:54 +0100)
dwm.c

diff --git a/dwm.c b/dwm.c
index a13f07b..1554a16 100644 (file)
--- a/dwm.c
+++ b/dwm.c
@@ -94,8 +94,6 @@ struct Client {
        Client *next;
        Client *snext;
        Window win;
-       void *aux;
-       void (*freeaux)(void *);
 };
 
 typedef struct {
@@ -1521,8 +1519,6 @@ unmanage(Client *c) {
        detachstack(c);
        if(sel == c)
                focus(NULL);
-       if(c->aux && c->freeaux)
-               c->freeaux(c->aux);
        XUngrabButton(dpy, AnyButton, AnyModifier, c->win);
        setclientstate(c, WithdrawnState);
        free(c);