|
|
@ -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 setmfact(const char *arg);
|
|
|
|
void tile(void);
|
|
|
|
void tile(void);
|
|
|
|
void tilegeom(void);
|
|
|
|
|
|
|
|
void tileresize(Client *c, int x, int y, int w, int h);
|
|
|
|
void tileresize(Client *c, int x, int y, int w, int h);
|
|
|
|
|
|
|
|
void updatetilegeom(void);
|
|
|
|
|
|
|
|
|
|
|
|
void
|
|
|
|
void
|
|
|
|
setmfact(const char *arg) {
|
|
|
|
setmfact(const char *arg) {
|
|
|
@ -64,21 +64,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
|
|
|
|
void
|
|
|
|
tileresize(Client *c, int x, int y, int w, int h) {
|
|
|
|
tileresize(Client *c, int x, int y, int w, int h) {
|
|
|
|
resize(c, x, y, w, h, RESIZEHINTS);
|
|
|
|
resize(c, x, y, w, h, RESIZEHINTS);
|
|
|
@ -101,3 +86,18 @@ zoom(const char *arg) {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
arrange();
|
|
|
|
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;
|
|
|
|
|
|
|
|
}
|
|
|
|