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

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