aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnselm R Garbe <garbeam@gmail.com>2008-05-17 14:48:04 +0100
committerAnselm R Garbe <garbeam@gmail.com>2008-05-17 14:48:04 +0100
commita864a82b3460bbceda03709dfd9de34b19f9b8cf (patch)
treec261335f56b2ae1fdc0da88cbc05d222546c5eb3
parentbd67a82fb5a77638be365659a8b6aab4f3f5a35e (diff)
downloaddwm-a864a82b3460bbceda03709dfd9de34b19f9b8cf.tar.gz
dwm-a864a82b3460bbceda03709dfd9de34b19f9b8cf.tar.bz2
dwm-a864a82b3460bbceda03709dfd9de34b19f9b8cf.zip
s/tilegeom/updatetilegeom/
-rw-r--r--tile.c32
1 files changed, 16 insertions, 16 deletions
diff --git a/tile.c b/tile.c
index 3cdaf49..ab21ec9 100644
--- a/tile.c
+++ b/tile.c
@@ -4,8 +4,8 @@ int bx, by, bw, bh, blw, mx, my, mw, mh, tx, ty, tw, th, wx, wy, ww, wh;
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 @@ tile(void) {
}
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 @@ zoom(const char *arg) {
}
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;
+}