equal
deleted
inserted
replaced
92 uint tags; |
92 uint tags; |
93 Bool isfixed, isfloating, isurgent; |
93 Bool isfixed, isfloating, isurgent; |
94 Client *next; |
94 Client *next; |
95 Client *snext; |
95 Client *snext; |
96 Window win; |
96 Window win; |
97 void *aux; |
|
98 void (*freeaux)(void *); |
|
99 }; |
97 }; |
100 |
98 |
101 typedef struct { |
99 typedef struct { |
102 int x, y, w, h; |
100 int x, y, w, h; |
103 ulong norm[ColLast]; |
101 ulong norm[ColLast]; |
1519 XConfigureWindow(dpy, c->win, CWBorderWidth, &wc); /* restore border */ |
1517 XConfigureWindow(dpy, c->win, CWBorderWidth, &wc); /* restore border */ |
1520 detach(c); |
1518 detach(c); |
1521 detachstack(c); |
1519 detachstack(c); |
1522 if(sel == c) |
1520 if(sel == c) |
1523 focus(NULL); |
1521 focus(NULL); |
1524 if(c->aux && c->freeaux) |
|
1525 c->freeaux(c->aux); |
|
1526 XUngrabButton(dpy, AnyButton, AnyModifier, c->win); |
1522 XUngrabButton(dpy, AnyButton, AnyModifier, c->win); |
1527 setclientstate(c, WithdrawnState); |
1523 setclientstate(c, WithdrawnState); |
1528 free(c); |
1524 free(c); |
1529 XSync(dpy, False); |
1525 XSync(dpy, False); |
1530 XSetErrorHandler(xerror); |
1526 XSetErrorHandler(xerror); |