mirror of git://git.suckless.org/dwm
fix
This commit is contained in:
parent
92f3c181c3
commit
6e9387793b
2
dwm.c
2
dwm.c
|
@ -1306,7 +1306,7 @@ void
|
||||||
setmfact(const void *arg) {
|
setmfact(const void *arg) {
|
||||||
double d = *((double*) arg);
|
double d = *((double*) arg);
|
||||||
|
|
||||||
if(!d || lt->arrange)
|
if(!d || !lt->arrange)
|
||||||
return;
|
return;
|
||||||
d = d < 1.0 ? d + mfact : d - 1.0;
|
d = d < 1.0 ? d + mfact : d - 1.0;
|
||||||
if(d < 0.1 || d > 0.9)
|
if(d < 0.1 || d > 0.9)
|
||||||
|
|
Loading…
Reference in New Issue