Commit 00c28a7

Anselm R Garbe <garbeam@gmail.com>
2008-03-24 10:31:02
setmfact should not have any effect if in floating layout
1 parent 5a3a2d6
Changed files (1)
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] == '+') {