From 00c28a7ef2d465c7377c782c3dfd8b5ac0a805e1 Mon Sep 17 00:00:00 2001 From: Anselm R Garbe Date: Mon, 24 Mar 2008 14:31:02 +0000 Subject: setmfact should not have any effect if in floating layout --- dwm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '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] == '+') { -- cgit 1.4.1-2-gfad0