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

This commit is contained in:
Anselm R. Garbe 2007-09-22 21:34:06 +02:00
parent b0477c3017
commit 60444daa70
1 changed files with 2 additions and 2 deletions

4
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)))