Client *next;
Client *snext;
Window win;
+ void *aux;
+ void (*freeaux)(void *);
};
typedef struct {
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);
void
view(const Arg *arg) {
+ if(arg && (arg->i & TAGMASK) == tagset[seltags])
+ return;
seltags ^= 1; /* toggle sel tagset */
if(arg && (arg->ui & TAGMASK))
tagset[seltags] = arg->i & TAGMASK;