Commit Diff


commit - a6d23fb61c26126685ed8e19a7cb94189bbbd566
commit + 45768ee04bfab45a5dfd21105419806422ca8954
blob - a13f07b529870678cab06ec13175e7bcd66845ac
blob + 1554a166f3a6fcd2a78d07fdcec190e862196de3
--- dwm.c
+++ 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);