Browse Source

setmfact should not have any effect if in floating layout

config
Anselm R Garbe 16 years ago
parent
commit
00c28a7ef2
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      dwm.c

+ 1
- 1
dwm.c View File

@ -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