From c3ab5d4f1316da4c6aba8acb4460121ee3e45b59 Mon Sep 17 00:00:00 2001 From: okan Date: Sat, 3 Sep 2011 09:42:33 +0000 Subject: 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. --- calmwm.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'calmwm.h') diff --git a/calmwm.h b/calmwm.h index 86bab28..053138e 100644 --- a/calmwm.h +++ b/calmwm.h @@ -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 */ -- cgit v1.2.3-2-gb3c3