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 /* set floating after resizing so it won't save
* coords */ * coords */
c->isfloating = True; c->isfloating = True;
restack(c->screen);
} }
else if(c->wasfloating) else if(c->wasfloating)
{ {
c->isfloating = True; c->isfloating = True;
client_resize(c, c->m_geometry, False); client_resize(c, c->m_geometry, False);
restack(c->screen);
} }
else else
{ {