aboutsummaryrefslogtreecommitdiffstats
path: root/calmwm.h
diff options
context:
space:
mode:
authorokan2012-07-13 17:01:04 +0000
committerokan2012-07-13 17:01:04 +0000
commitb6feb9c4c70841ec78711b4ffd93e6bcd578f388 (patch)
treeb60432e1113e366850bcabfec8e5ad7788114fd9 /calmwm.h
parenta4c958a3f89733566a15f47d5ddc0167fe5e85d4 (diff)
downloadcwm-b6feb9c4c70841ec78711b4ffd93e6bcd578f388.tar.gz
re-use geom struct in client_ctx (saved)geometry.
Diffstat (limited to 'calmwm.h')
-rw-r--r--calmwm.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/calmwm.h b/calmwm.h
index efbbf3b..dbcb509 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.151 2012/07/13 15:21:35 okan Exp $
+ * $OpenBSD: calmwm.h,v 1.152 2012/07/13 17:01:04 okan Exp $
*/
#ifndef _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 */