remove borders modification on maximize()

This commit is contained in:
Nikos Ntarmos 2008-01-02 09:55:03 +01:00 committed by Julien Danjou
parent 4f65aa8f51
commit d8ef2748a6
1 changed files with 0 additions and 4 deletions

View File

@ -855,8 +855,6 @@ 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);
@ -866,8 +864,6 @@ client_maximize(Client *c, int x, int y, int w, int h)
else
c->isfloating = False;
c->border = c->oldborder;
arrange(c->screen);
}