titlebar: unmap when going to Off position (FS#156)
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
bc2e7cde15
commit
ec6f9fa825
|
@ -159,6 +159,8 @@ titlebar_draw(Client *c)
|
||||||
switch(c->titlebar.position)
|
switch(c->titlebar.position)
|
||||||
{
|
{
|
||||||
case Off:
|
case Off:
|
||||||
|
if (c->titlebar.sw)
|
||||||
|
XUnmapWindow(globalconf.display, c->titlebar.sw->window);
|
||||||
return;
|
return;
|
||||||
case Right:
|
case Right:
|
||||||
case Left:
|
case Left:
|
||||||
|
|
Loading…
Reference in New Issue