yy <[EMAIL PROTECTED]> wrote:

> After looking at the 4.9 release I have a suggestion which could
> satisfy most of the people, in dwm.c:1071 you could change the
> isvisible(c) condition to (lt->isfloating || !c->isfloating) &&
> isvisible(c), this way if you want to just maximize tiled windows you
> just have to set the float value of monocle in config.h to False, else
> you will have the current behavior.
>
> What do you think?

In other words you would propose the attached patch.

Regards
Matthias-Christian
diff -r 176858b8a80f dwm.c
--- a/dwm.c     Fri Apr 04 20:21:49 2008 +0200
+++ b/dwm.c     Fri Apr 04 20:26:08 2008 +0200
@@ -1076,7 +1076,7 @@
        Client *c;
 
        for(c = clients; c; c = c->next)
-               if(isvisible(c))
+                if((lt->isfloating || !c->floating) &&  isvisible(c))
                        resize(c, mox, moy, mow - 2 * c->bw, moh - 2 * c->bw, 
RESIZEHINTS);
 }
 

Reply via email to