about summary refs log tree commit diff stats
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
parent5a3a2d6b637a41125f9128722aa9cb4c8c97888b (diff)
downloaddwm-00c28a7ef2d465c7377c782c3dfd8b5ac0a805e1.tar.gz
setmfact should not have any effect if in floating layout
-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] == '+') {
' href='#n126'>126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193