re-use geom struct in client_ctx (saved)geometry.

This commit is contained in:
okan
2012-07-13 17:01:04 +00:00
parent 186a78ff1e
commit 0e8815dfb0
6 changed files with 89 additions and 94 deletions

View File

@@ -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 */