Client/Layout: Fix layout arranging bug with multihead, when closing a client who is on another screen in the current tag.

This commit is contained in:
Martin Duquesnoy 2009-07-28 11:50:01 +02:00
parent b5ec3dd9fa
commit 24bb4224b3

View File

@ -884,10 +884,7 @@ client_unmanage(Client *c)
ewmh_get_client_list(); ewmh_get_client_list();
/* Arrange */ /* Arrange */
if(c->tag != seltag[selscreen]) tags[c->screen][c->tag].layout.func(c->screen);
tags[c->screen][c->tag].request_update = True;
else
tags[c->screen][c->tag].layout.func(c->screen);
XFree(c->title); XFree(c->title);