remove borders modification on maximize()
This commit is contained in:
parent
4f65aa8f51
commit
d8ef2748a6
4
client.c
4
client.c
|
@ -855,8 +855,6 @@ client_maximize(Client *c, int x, int y, int w, int h)
|
||||||
{
|
{
|
||||||
if((c->ismax = !c->ismax))
|
if((c->ismax = !c->ismax))
|
||||||
{
|
{
|
||||||
c->oldborder = c->border;
|
|
||||||
c->border = 0;
|
|
||||||
c->wasfloating = c->isfloating;
|
c->wasfloating = c->isfloating;
|
||||||
c->isfloating = True;
|
c->isfloating = True;
|
||||||
client_resize(c, x, y, w, h, False, 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
|
else
|
||||||
c->isfloating = False;
|
c->isfloating = False;
|
||||||
|
|
||||||
c->border = c->oldborder;
|
|
||||||
|
|
||||||
arrange(c->screen);
|
arrange(c->screen);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue