setmfact should not have any effect if in floating layout

master
Anselm R Garbe 2008-03-24 14:31:02 +00:00
parent 5a3a2d6b63
commit 00c28a7ef2
1 changed files with 1 additions and 1 deletions

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