diff options
author | okan | 2013-01-06 01:01:26 +0000 |
---|---|---|
committer | okan | 2013-01-06 01:01:26 +0000 |
commit | 08e5c566e63f53f841e39b9cdb9d0c693ebf080b (patch) | |
tree | 8d2e243e50248d046e36dc943be0bacdcb2d1b65 /client.c | |
parent | 9b7ce123df14b7dcfa22a0107506e5dd71c78254 (diff) | |
download | cwm-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 'client.c')
-rw-r--r-- | client.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; } |