mirror of
https://github.com/leahneukirchen/cwm.git
synced 2023-08-10 21:13:12 +03:00
Remove redundant minimum client size adjustment (minw and minh are
always positive since r1.214); from Vadim Vygonets.
This commit is contained in:
parent
8c1b05e534
commit
4cf9a34b65
3
client.c
3
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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user