diff options
author | Anselm R. Garbe | 2007-08-12 12:46:08 +0200 |
---|---|---|
committer | Anselm R. Garbe | 2007-08-12 12:46:08 +0200 |
commit | f6e41b0bc3a00a2c48a996e2da4ad84be9a719f7 (patch) | |
tree | 70f814444afc641cf00d0c56032b154e2b0f480e /tile.c | |
parent | 2c6087e3d20b506e63d12c9f4e638ecd024e859c (diff) |
renamed MASTER into MWFACT, master into mwfact, and incmaster into addtomwfact
Diffstat (limited to 'tile.c')
-rw-r--r-- | tile.c | 13 |
1 files changed, 6 insertions, 7 deletions
@@ -4,23 +4,22 @@ /* static */ -static double master = MASTER; +static double mwfact = MWFACT; /* extern */ void -incmaster(const char *arg) { +addtomwfact(const char *arg) { double delta; if(lt->arrange != tile) return; - /* arg handling, manipulate master */ + /* arg handling, manipulate mwfact */ if(arg && (1 == sscanf(arg, "%lf", &delta))) { - if(delta + master > 0.1 && delta + master < 0.9) - master += delta; + if(delta + mwfact > 0.1 && delta + mwfact < 0.9) + mwfact += delta; } - lt->arrange(); } @@ -33,7 +32,7 @@ tile(void) { n++; /* window geoms */ - mw = (n == 1) ? waw : master * waw; + mw = (n == 1) ? waw : mwfact * waw; th = (n > 1) ? wah / (n - 1) : 0; if(n > 1 && th < bh) th = wah; |