summary refs log tree commit diff
diff options
context:
space:
mode:
authorokan <okan>2013-01-06 01:01:26 +0000
committerokan <okan>2013-01-06 01:01:26 +0000
commitc426254da5ff69102284524ddc560cfb00c73204 (patch)
tree668eb3f2f5641b787e39fe40f5bdfcc44339921c
parent6d123cd96d889cbff140e5ed0d897462d9fec3d4 (diff)
downloadcwm-c426254da5ff69102284524ddc560cfb00c73204.tar.gz
cwm-c426254da5ff69102284524ddc560cfb00c73204.tar.xz
cwm-c426254da5ff69102284524ddc560cfb00c73204.zip
use cc->bwidth in client_vmax since we've yet to reset it (matches
client_hmax); from Jan Stary
-rw-r--r--client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/client.c b/client.c
index ad45aea..530a077 100644
--- a/client.c
+++ b/client.c
@@ -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;
 	}