JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
applied the proposed monocle patch from the mailinglist
[dwm.git] / dwm.c
diff --git a/dwm.c b/dwm.c
index 9acf30d..e1d3b0a 100644 (file)
--- a/dwm.c
+++ b/dwm.c
@@ -1068,7 +1068,7 @@ monocle(void) {
        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);
 }