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

From: Anselm R. Garbe <garbeam_AT_gmail.com>
Date: Sat Sep 22 21:37:51 2007

changeset: 1007:1a33d975c9e6
tag: tip
user: Anselm R. Garbe <garbeam_AT_gmail.com>
date: Sat Sep 22 21:34:06 2007 +0200
summary: 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) {
 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) {
 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)))
Received on Sat Sep 22 2007 - 21:37:51 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 15:58:14 UTC