summaryrefslogtreecommitdiff
path: root/dwm.c
diff options
context:
space:
mode:
authorAnselm R Garbe <garbeam@gmail.com>2008-04-05 18:23:31 +0100
committerAnselm R Garbe <garbeam@gmail.com>2008-04-05 18:23:31 +0100
commit940240e5e6f16b292b2f6f37a05282617ce10fe9 (patch)
treec4ecac3eb30f98152981d5f8bdf3348f5a6ecb16 /dwm.c
parent08c596ed10b51526ac24538f450b44609f7daf03 (diff)
applied the proposed monocle patch from the mailinglist
Diffstat (limited to 'dwm.c')
-rw-r--r--dwm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dwm.c b/dwm.c
index 9acf30d..e1d3b0a 100644
--- 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);
}