split off window hints from geometry so we don't need to carry them all

around when dealing with {,h,v}max.  same idea from oga.
This commit is contained in:
okan
2011-09-03 09:42:33 +00:00
parent 325129c6ba
commit b852a73a60
3 changed files with 42 additions and 40 deletions

View File

@@ -121,6 +121,8 @@ struct client_ctx {
int y; /* y position */
int width; /* width */
int height;/* height */
} geom, savegeom;
struct {
int basew; /* desired width */
int baseh; /* desired height */
int minw; /* minimum width */
@@ -131,7 +133,7 @@ struct client_ctx {
int inch; /* height increment progression */
float mina; /* minimum aspect ratio */
float maxa; /* maximum aspect ratio */
} geom, savegeom;
} hint;
struct {
int x; /* x position */
int y; /* y position */