lt->arrange in mfact
This commit is contained in:
parent
d589f7679a
commit
92f3c181c3
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 != tile)
|
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 a new issue