stash window dimensions

This commit is contained in:
okan
2015-06-08 15:11:29 +00:00
parent 8653c88c90
commit 9180bb1a06
3 changed files with 8 additions and 3 deletions

View File

@ -874,6 +874,9 @@ client_applysizehints(struct client_ctx *cc)
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;
}
static void