restack on max

This commit is contained in:
Julien Danjou 2008-01-06 23:37:53 +01:00
parent 29a5cda54f
commit 1381989651
1 changed files with 2 additions and 0 deletions

View File

@ -888,11 +888,13 @@ client_maximize(Client *c, Area geometry)
/* set floating after resizing so it won't save
* coords */
c->isfloating = True;
restack(c->screen);
}
else if(c->wasfloating)
{
c->isfloating = True;
client_resize(c, c->m_geometry, False);
restack(c->screen);
}
else
{