Browse Source

setmwfact and zoom check isarrange(floating) now, not !isarrange(tile) - this makes it easier to play well with bstack and nmtile patches

config
Anselm R. Garbe 17 years ago
parent
commit
60444daa70
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      dwm.c

+ 2
- 2
dwm.c View File

@ -1398,7 +1398,7 @@ void
setmwfact(const char *arg) {
double delta;
if(!isarrange(tile))
if(isarrange(floating))
return;
/* arg handling, manipulate mwfact */
if(arg == NULL)
@ -1850,7 +1850,7 @@ void
zoom(const char *arg) {
Client *c;
if(!sel || !isarrange(tile) || sel->isfloating)
if(!sel || isarrange(floating) || sel->isfloating)
return;
if((c = sel) == nexttiled(clients))
if(!(c = nexttiled(c->next)))


Loading…
Cancel
Save