From ec6f9fa8251e61b68a25c7443bac20549a2103bc Mon Sep 17 00:00:00 2001 From: Nikos Ntarmos Date: Wed, 1 Apr 2009 16:53:27 +0200 Subject: [PATCH] titlebar: unmap when going to Off position (FS#156) Signed-off-by: Julien Danjou --- titlebar.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/titlebar.c b/titlebar.c index 2ba474e62..a3298d750 100644 --- a/titlebar.c +++ b/titlebar.c @@ -159,6 +159,8 @@ titlebar_draw(Client *c) switch(c->titlebar.position) { case Off: + if (c->titlebar.sw) + XUnmapWindow(globalconf.display, c->titlebar.sw->window); return; case Right: case Left: