# HG changeset patch # User Anselm R. Garbe # Date 1190489646 -7200 # Node ID 1a33d975c9e6818a8c3ad55a1c2fd4349322ccd9 # Parent ebacc4055785ad25a7ef465501f0ca4b67e22514 setmwfact and zoom check isarrange(floating) now, not !isarrange(tile) - this makes it easier to play well with bstack and nmtile patches diff -r ebacc4055785 -r 1a33d975c9e6 dwm.c --- a/dwm.c Sat Sep 22 09:13:03 2007 +0200 +++ b/dwm.c Sat Sep 22 21:34:06 2007 +0200 @@ -1398,7 +1398,7 @@ setmwfact(const char *arg) { double delta; - if(!isarrange(tile)) + if(isarrange(floating)) return; /* arg handling, manipulate mwfact */ if(arg == NULL) @@ -1850,7 +1850,7 @@ 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)))