瀏覽代碼

removed aux* stuff from Client

Anselm R Garbe 17 年之前
父節點
當前提交
45768ee04b
共有 1 個文件被更改,包括 0 次插入4 次删除
  1. 0 4
      dwm.c

+ 0 - 4
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);