about summary refs log tree commit diff stats
path: root/dwm.c
diff options
context:
space:
mode:
authorAnselm R Garbe <garbeam@gmail.com>2008-03-24 14:31:02 +0000
committerAnselm R Garbe <garbeam@gmail.com>2008-03-24 14:31:02 +0000
commit00c28a7ef2d465c7377c782c3dfd8b5ac0a805e1 (patch)
tree951deb78d3a2f50804bf03bb559e4b4ce364a708 /dwm.c
parent5a3a2d6b637a41125f9128722aa9cb4c8c97888b (diff)
downloaddwm-00c28a7ef2d465c7377c782c3dfd8b5ac0a805e1.tar.gz
setmfact should not have any effect if in floating layout
Diffstat (limited to 'dwm.c')
-rw-r--r--dwm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dwm.c b/dwm.c
index ed7fc0d..212bf3e 100644
--- a/dwm.c
+++ b/dwm.c
@@ -1467,7 +1467,7 @@ void
 setmfact(const char *arg) {
 	double delta;
 
-	if(!arg)
+	if(!arg || lt->isfloating)
 		return;
 	delta = strtod(arg, NULL);
 	if(arg[0] == '-' || arg[0] == '+') {
d'>36365244 ^
d55e7738 ^


ef7d834f ^












b301e0c0 ^
ef7d834f ^

b301e0c0 ^
ef7d834f ^





b301e0c0 ^
ef7d834f ^

e82dc626 ^
ef7d834f ^
e82dc626 ^
ef7d834f ^

36365244 ^



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