mirror of git://git.suckless.org/dwm
setmfact should not have any effect if in floating layout
This commit is contained in:
parent
5a3a2d6b63
commit
00c28a7ef2
2
dwm.c
2
dwm.c
|
@ -1467,7 +1467,7 @@ void
|
||||||
setmfact(const char *arg) {
|
setmfact(const char *arg) {
|
||||||
double delta;
|
double delta;
|
||||||
|
|
||||||
if(!arg)
|
if(!arg || lt->isfloating)
|
||||||
return;
|
return;
|
||||||
delta = strtod(arg, NULL);
|
delta = strtod(arg, NULL);
|
||||||
if(arg[0] == '-' || arg[0] == '+') {
|
if(arg[0] == '-' || arg[0] == '+') {
|
||||||
|
|
Loading…
Reference in New Issue