From: Anselm R Garbe Date: Sat, 31 May 2008 16:37:13 +0000 (+0100) Subject: fix X-Git-Url: https://git.danieliu.xyz/?a=commitdiff_plain;h=6e9387793b06980b2420bf64106044cabf63e490;p=dwm.git fix --- diff --git a/dwm.c b/dwm.c index 4a826d9..3cff294 100644 --- a/dwm.c +++ b/dwm.c @@ -1306,7 +1306,7 @@ void setmfact(const void *arg) { double d = *((double*) arg); - if(!d || lt->arrange) + if(!d || !lt->arrange) return; d = d < 1.0 ? d + mfact : d - 1.0; if(d < 0.1 || d > 0.9)