Revert "remove borders modification on maximize()"

This reverts commit d8ef2748a6.
This commit is contained in:
Julien Danjou 2008-01-02 11:32:12 +01:00
parent 00b5fdc5b0
commit 9865d44a88
1 changed files with 4 additions and 0 deletions

View File

@ -855,6 +855,8 @@ client_maximize(Client *c, int x, int y, int w, int h)
{
if((c->ismax = !c->ismax))
{
c->oldborder = c->border;
c->border = 0;
c->wasfloating = c->isfloating;
c->isfloating = True;
client_resize(c, x, y, w, h, False, True);
@ -864,6 +866,8 @@ client_maximize(Client *c, int x, int y, int w, int h)
else
c->isfloating = False;
c->border = c->oldborder;
arrange(c->screen);
}