summary refs log tree commit diff
path: root/calmwm.h
diff options
context:
space:
mode:
authorokan <okan>2012-07-13 17:01:04 +0000
committerokan <okan>2012-07-13 17:01:04 +0000
commit0e8815dfb02f38a622d71ea3eb5644e6d5b8fb90 (patch)
tree4eec9e571a6f54b5fcb70a6751738f819a3a9678 /calmwm.h
parent186a78ff1e8f19155b337b68586cebc7495fcdf9 (diff)
downloadcwm-0e8815dfb02f38a622d71ea3eb5644e6d5b8fb90.tar.gz
cwm-0e8815dfb02f38a622d71ea3eb5644e6d5b8fb90.tar.xz
cwm-0e8815dfb02f38a622d71ea3eb5644e6d5b8fb90.zip
re-use geom struct in client_ctx (saved)geometry.
Diffstat (limited to 'calmwm.h')
-rw-r--r--calmwm.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/calmwm.h b/calmwm.h
index 4271421..849a945 100644
--- a/calmwm.h
+++ b/calmwm.h
@@ -125,12 +125,7 @@ struct client_ctx {
 	XSizeHints		*size;
 	Colormap		 cmap;
 	u_int			 bwidth; /* border width */
-	struct {
-		int		 x;	/* x position */
-		int		 y;	/* y position */
-		int		 width;	/* width */
-		int		 height;/* height */
-	} geom, savegeom;
+	struct geom		 geom, savegeom;
 	struct {
 		int		 basew;	/* desired width */
 		int		 baseh;	/* desired height */