diff options
author | okan | 2011-09-03 09:42:33 +0000 |
---|---|---|
committer | okan | 2011-09-03 09:42:33 +0000 |
commit | c3ab5d4f1316da4c6aba8acb4460121ee3e45b59 (patch) | |
tree | 418448f0e4caf5939426e4e63f92a58ec951dc9b /calmwm.h | |
parent | 41d2656d3236f0988ac500f3899c14cfec52598c (diff) | |
download | cwm-c3ab5d4f1316da4c6aba8acb4460121ee3e45b59.tar.gz |
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.
Diffstat (limited to 'calmwm.h')
-rw-r--r-- | calmwm.h | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -15,7 +15,7 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * $OpenBSD: calmwm.h,v 1.138 2011/09/03 09:25:39 okan Exp $ + * $OpenBSD: calmwm.h,v 1.139 2011/09/03 09:42:33 okan Exp $ */ #ifndef _CALMWM_H_ @@ -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 */ |