Remove titlebar at client_remove

This commit is contained in:
Martin Duquesnoy 2011-10-16 12:33:54 +02:00
parent 67cb8cd5ba
commit a2305bc157

View File

@ -877,6 +877,9 @@ client_remove(struct client *c)
XReparentWindow(W->dpy, c->win, W->root, c->geo.x, c->geo.y);
XDestroyWindow(W->dpy, c->frame);
if(c->titlebar)
barwin_remove(c->titlebar);
/* Remove from global client list */
SLIST_REMOVE(&W->h.client, c, client, next);