s/tilegeom/updatetilegeom/
authorAnselm R Garbe <garbeam@gmail.com>
Sat, 17 May 2008 14:48:04 +0100
changeset 1206 2914cb30c2d4
parent 1205 84f98bdf8fbe
child 1207 055bf865d22f
s/tilegeom/updatetilegeom/
tile.c
--- a/tile.c	Sat May 17 14:46:06 2008 +0100
+++ b/tile.c	Sat May 17 14:48:04 2008 +0100
@@ -4,8 +4,8 @@
 
 void setmfact(const char *arg);
 void tile(void);
-void tilegeom(void);
 void tileresize(Client *c, int x, int y, int w, int h);
+void updatetilegeom(void);
 
 void
 setmfact(const char *arg) {
@@ -65,21 +65,6 @@
 }
 
 void
-tilegeom(void) {
-	/* master area geometry */
-	mx = wx;
-	my = wy;
-	mw = mfact * ww;
-	mh = wh;
-
-	/* tile area geometry */
-	tx = mx + mw;
-	ty = wy;
-	tw = ww - mw;
-	th = wh;
-}
-
-void
 tileresize(Client *c, int x, int y, int w, int h) {
 	resize(c, x, y, w, h, RESIZEHINTS);
 	if((RESIZEHINTS) && ((c->h < bh) || (c->h > h) || (c->w < bh) || (c->w > w)))
@@ -101,3 +86,18 @@
 	}
 	arrange();
 }
+
+void
+updatetilegeom(void) {
+	/* master area geometry */
+	mx = wx;
+	my = wy;
+	mw = mfact * ww;
+	mh = wh;
+
+	/* tile area geometry */
+	tx = mx + mw;
+	ty = wy;
+	tw = ww - mw;
+	th = wh;
+}