|
|
@ -94,8 +94,6 @@ struct Client { |
|
|
|
Client *next; |
|
|
|
Client *next; |
|
|
|
Client *snext; |
|
|
|
Client *snext; |
|
|
|
Window win; |
|
|
|
Window win; |
|
|
|
void *aux; |
|
|
|
|
|
|
|
void (*freeaux)(void *); |
|
|
|
|
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
typedef struct { |
|
|
|
typedef struct { |
|
|
@ -1521,8 +1519,6 @@ unmanage(Client *c) { |
|
|
|
detachstack(c); |
|
|
|
detachstack(c); |
|
|
|
if(sel == c) |
|
|
|
if(sel == c) |
|
|
|
focus(NULL); |
|
|
|
focus(NULL); |
|
|
|
if(c->aux && c->freeaux) |
|
|
|
|
|
|
|
c->freeaux(c->aux); |
|
|
|
|
|
|
|
XUngrabButton(dpy, AnyButton, AnyModifier, c->win); |
|
|
|
XUngrabButton(dpy, AnyButton, AnyModifier, c->win); |
|
|
|
setclientstate(c, WithdrawnState); |
|
|
|
setclientstate(c, WithdrawnState); |
|
|
|
free(c); |
|
|
|
free(c); |
|
|
|