about summary refs log tree commit diff stats
path: root/tile.c
diff options
context:
space:
mode:
authorAnselm R. Garbe <garbeam@gmail.com>2007-08-12 12:46:08 +0200
committerAnselm R. Garbe <garbeam@gmail.com>2007-08-12 12:46:08 +0200
commitf6e41b0bc3a00a2c48a996e2da4ad84be9a719f7 (patch)
tree70f814444afc641cf00d0c56032b154e2b0f480e /tile.c
parent2c6087e3d20b506e63d12c9f4e638ecd024e859c (diff)
downloaddwm-f6e41b0bc3a00a2c48a996e2da4ad84be9a719f7.tar.gz
renamed MASTER into MWFACT, master into mwfact, and incmaster into addtomwfact
Diffstat (limited to 'tile.c')
-rw-r--r--tile.c13
1 files changed, 6 insertions, 7 deletions
diff --git a/tile.c b/tile.c
index 40e40e2..2481eb3 100644
--- a/tile.c
+++ b/tile.c
@@ -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;
proceeded, though we still miss a real Tag struct' href='/acidbong/suckless/dwm/commit/config.def.h?h=5.1&id=00ca643bd7ccba6efd001cc679525a53a3c75586'>00ca643 ^
fe2775a ^
e237b2a ^




f196b71 ^
3794c62 ^
f196b71 ^
6f60b2e ^
8d1810c ^
39af3c2 ^
fe2775a ^
c917018 ^
247ba66 ^

d7b074f ^

3794c62 ^

f196b71 ^

e9a0733 ^

dba2284 ^
33b1960 ^
e9a0733 ^
308f95a ^
e9a0733 ^
e9a0733 ^

d66ad14 ^
e9a0733 ^

2e95837 ^

d7b074f ^

e9a0733 ^








































b515765 ^
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108