aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorokan2013-01-06 01:01:26 +0000
committerokan2013-01-06 01:01:26 +0000
commit08e5c566e63f53f841e39b9cdb9d0c693ebf080b (patch)
tree8d2e243e50248d046e36dc943be0bacdcb2d1b65
parent9b7ce123df14b7dcfa22a0107506e5dd71c78254 (diff)
downloadcwm-08e5c566e63f53f841e39b9cdb9d0c693ebf080b.tar.gz
use cc->bwidth in client_vmax since we've yet to reset it (matches
client_hmax); from Jan Stary
Diffstat (limited to '')
-rw-r--r--client.c4
1 files 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 <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;
}