summaryrefslogtreecommitdiffstats
path: root/dwm.c
diff options
context:
space:
mode:
authorAnselm R. Garbe <garbeam@gmail.com>2007-09-22 21:34:06 +0200
committerAnselm R. Garbe <garbeam@gmail.com>2007-09-22 21:34:06 +0200
commit60444daa70591946f352446906e498c8ae3dafdf (patch)
tree5719eb66899a7ba6e1504069e930d6b69dfec3cd /dwm.c
parentAdded tag 4.5 for changeset 2acc60d6dfe2 (diff)
downloaddwm-60444daa70591946f352446906e498c8ae3dafdf.tar.gz
dwm-60444daa70591946f352446906e498c8ae3dafdf.zip
setmwfact and zoom check isarrange(floating) now, not !isarrange(tile) - this makes it easier to play well with bstack and nmtile patches
Diffstat (limited to 'dwm.c')
-rw-r--r--dwm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/dwm.c b/dwm.c
index f28cdf8..90ba67b 100644
--- a/dwm.c
+++ b/dwm.c
@@ -1398,7 +1398,7 @@ void
1398setmwfact(const char *arg) { 1398setmwfact(const char *arg) {
1399 double delta; 1399 double delta;
1400 1400
1401 if(!isarrange(tile)) 1401 if(isarrange(floating))
1402 return; 1402 return;
1403 /* arg handling, manipulate mwfact */ 1403 /* arg handling, manipulate mwfact */
1404 if(arg == NULL) 1404 if(arg == NULL)
@@ -1850,7 +1850,7 @@ void
1850zoom(const char *arg) { 1850zoom(const char *arg) {
1851 Client *c; 1851 Client *c;
1852 1852
1853 if(!sel || !isarrange(tile) || sel->isfloating) 1853 if(!sel || isarrange(floating) || sel->isfloating)
1854 return; 1854 return;
1855 if((c = sel) == nexttiled(clients)) 1855 if((c = sel) == nexttiled(clients))
1856 if(!(c = nexttiled(c->next))) 1856 if(!(c = nexttiled(c->next)))