Client: Fix layout update bug when a client is closed on another tag.

This commit is contained in:
Martin Duquesnoy 2009-11-02 20:08:56 +01:00
parent e723c03fe3
commit 0b5b2affd4

View File

@ -897,7 +897,13 @@ client_unmanage(Client *c)
ewmh_get_client_list();
/* Arrange */
tags[c->screen][c->tag].layout.func(c->screen);
if(c->tag == seltag[selscreen] && c->screen == selscreen)
tags[c->screen][c->tag].layout.func(c->screen);
else
{
tags[c->screen][c->tag].request_update = True;
infobar_draw(c->screen);
}
XFree(c->title);