summaryrefslogtreecommitdiff
path: root/app/cwm/client.c
diff options
context:
space:
mode:
authorOkan Demirmen <okan@cvs.openbsd.org>2013-01-06 01:01:27 +0000
committerOkan Demirmen <okan@cvs.openbsd.org>2013-01-06 01:01:27 +0000
commit8f989af891d4eab1314e7f15718e68fa1bbf91ba (patch)
tree9bc00ae3db538b84e93a8db9e48e777dca7b7619 /app/cwm/client.c
parent96de7bee3653cf7f420da623b5b449e05a4a1bd1 (diff)
use cc->bwidth in client_vmax since we've yet to reset it (matches
client_hmax); from Jan Stary
Diffstat (limited to 'app/cwm/client.c')
-rw-r--r--app/cwm/client.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/cwm/client.c b/app/cwm/client.c
index 3eaa68ca8..0624479f1 100644
--- a/app/cwm/client.c
+++ b/app/cwm/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 <sys/param.h>
@@ -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;
}