setmfact should not have any effect if in floating layout

keyboard
Anselm R Garbe 17 years ago
parent 5a3a2d6b63
commit 00c28a7ef2
  1. 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…
Cancel
Save