From 9865d44a888434e433a5859b92f057e85fa9830d Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Wed, 2 Jan 2008 11:32:12 +0100 Subject: [PATCH] Revert "remove borders modification on maximize()" This reverts commit d8ef2748a661cd27e7729fae92c8acdd49162a2b. --- client.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/client.c b/client.c index 0047754c3..853059706 100644 --- a/client.c +++ b/client.c @@ -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); }