summary refs log tree commit diff
path: root/calmwm.h
diff options
context:
space:
mode:
authorokan <okan>2009-08-24 23:49:04 +0000
committerokan <okan>2009-08-24 23:49:04 +0000
commit028a1778db0caa04ca4f82be32998a7f65c802a5 (patch)
tree9284024c4d2a1962e8959b43a9ad5d7b1d5cf997 /calmwm.h
parent09d88f4a18623fff580e7381aa242dae5b53cc18 (diff)
downloadcwm-028a1778db0caa04ca4f82be32998a7f65c802a5.tar.gz
cwm-028a1778db0caa04ca4f82be32998a7f65c802a5.tar.xz
cwm-028a1778db0caa04ca4f82be32998a7f65c802a5.zip
bring together gathering, calculating and applying of size hints;
additionally, respect aspect ratio hints.

ok oga@
Diffstat (limited to 'calmwm.h')
-rw-r--r--calmwm.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/calmwm.h b/calmwm.h
index a60dee1..aa46793 100644
--- a/calmwm.h
+++ b/calmwm.h
@@ -121,8 +121,9 @@ struct client_ctx {
 
 	u_int			 bwidth;
 	struct {
-		int		 x, y, width, height;
-		int		 min_dx, min_dy;
+		int		 x, y, width, height, basew, baseh,
+				 minw, minh, maxw, maxh, incw, inch;
+		float		 mina, maxa;
 	} geom, savegeom;
 
 	struct {
@@ -349,6 +350,8 @@ void			 client_vertmaximize(struct client_ctx *);
 void			 client_map(struct client_ctx *);
 void			 client_mtf(struct client_ctx *);
 struct client_ctx	*client_cycle(int);
+void			 client_getsizehints(struct client_ctx *);
+void			 client_applysizehints(struct client_ctx *);
 
 struct menu  		*menu_filter(struct menu_q *, char *, char *, int,
 			     void (*)(struct menu_q *, struct menu_q *, char *),