From 08e5c566e63f53f841e39b9cdb9d0c693ebf080b Mon Sep 17 00:00:00 2001 From: okan Date: Sun, 6 Jan 2013 01:01:26 +0000 Subject: use cc->bwidth in client_vmax since we've yet to reset it (matches client_hmax); from Jan Stary --- client.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client.c b/client.c index 3eaa68c..0624479 100644 --- a/client.c +++ b/client.c @@ -15,7 +15,7 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * $OpenBSD: client.c,v 1.115 2013/01/04 16:30:03 okan Exp $ + * $OpenBSD: client.c,v 1.116 2013/01/06 01:01:26 okan Exp $ */ #include @@ -321,7 +321,7 @@ client_vmaximize(struct client_ctx *cc) /* if this will make us fully maximized then remove boundary */ if ((cc->flags & CLIENT_MAXFLAGS) == CLIENT_HMAXIMIZED) { - cc->geom.w += Conf.bwidth * 2; + cc->geom.w += cc->bwidth * 2; cc->bwidth = 0; } -- cgit v1.2.3-2-gb3c3