X-Git-Url: https://git.xinqibao.xyz/dwm.git/blobdiff_plain/5a3a2d6b637a41125f9128722aa9cb4c8c97888b..00c28a7ef2d465c7377c782c3dfd8b5ac0a805e1:/dwm.c 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] == '+') {