setmfact should not have any effect if in floating layout

This commit is contained in:
Anselm R Garbe 2008-03-24 14:31:02 +00:00
parent 5a3a2d6b63
commit 00c28a7ef2

2
dwm.c
View file

@ -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] == '+') {