diff options
author | okan <okan> | 2016-09-01 18:34:04 +0000 |
---|---|---|
committer | okan <okan> | 2016-09-01 18:34:04 +0000 |
commit | 4cf9a34b65cbb495088d33fd16dd68400ded62c0 (patch) | |
tree | 222c9d7daa1e769737f264e1e3afd5a2ade6de1d | |
parent | 8c1b05e534ec0f2ffa0a8914fc2a8cc324456f69 (diff) | |
download | cwm-4cf9a34b65cbb495088d33fd16dd68400ded62c0.tar.gz cwm-4cf9a34b65cbb495088d33fd16dd68400ded62c0.tar.xz cwm-4cf9a34b65cbb495088d33fd16dd68400ded62c0.zip |
Remove redundant minimum client size adjustment (minw and minh are
always positive since r1.214); from Vadim Vygonets.
-rw-r--r-- | client.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/client.c b/client.c index bb8f8dc..322b889 100644 --- a/client.c +++ b/client.c @@ -898,9 +898,6 @@ client_applysizehints(struct client_ctx *cc) if (cc->hint.maxh) cc->geom.h = MIN(cc->geom.h, cc->hint.maxh); - cc->geom.w = MAX(cc->geom.w, 1); - cc->geom.h = MAX(cc->geom.h, 1); - cc->dim.w = (cc->geom.w - cc->hint.basew) / cc->hint.incw; cc->dim.h = (cc->geom.h - cc->hint.baseh) / cc->hint.inch; } |