summary refs log tree commit diff
path: root/calmwm.h
diff options
context:
space:
mode:
authorokan <okan>2011-09-03 09:42:33 +0000
committerokan <okan>2011-09-03 09:42:33 +0000
commitb852a73a60f96b45ae93ab5c7ea23a68743eaf04 (patch)
treeab0943b3d18b29e18cee5e59bb5c50bdd14d911b /calmwm.h
parent325129c6baa2aca0cadbdb965fcdb520fc7d3912 (diff)
downloadcwm-b852a73a60f96b45ae93ab5c7ea23a68743eaf04.tar.gz
cwm-b852a73a60f96b45ae93ab5c7ea23a68743eaf04.tar.xz
cwm-b852a73a60f96b45ae93ab5c7ea23a68743eaf04.zip
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.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/calmwm.h b/calmwm.h
index 1256437..7ffd157 100644
--- a/calmwm.h
+++ b/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 */