From a2305bc157c14eeb492440d8a795ac995fd48d2b Mon Sep 17 00:00:00 2001 From: Martin Duquesnoy Date: Sun, 16 Oct 2011 12:33:54 +0200 Subject: [PATCH] Remove titlebar at client_remove --- src/client.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/client.c b/src/client.c index f879049..581d7a3 100644 --- a/src/client.c +++ b/src/client.c @@ -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);