From 4cf9a34b65cbb495088d33fd16dd68400ded62c0 Mon Sep 17 00:00:00 2001 From: okan Date: Thu, 1 Sep 2016 18:34:04 +0000 Subject: [PATCH] Remove redundant minimum client size adjustment (minw and minh are always positive since r1.214); from Vadim Vygonets. --- client.c | 3 --- 1 file changed, 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; }