applied the proposed monocle patch from the mailinglist

This commit is contained in:
Anselm R Garbe 2008-04-05 18:23:31 +01:00
parent 08c596ed10
commit 940240e5e6

2
dwm.c
View file

@ -1068,7 +1068,7 @@ monocle(void) {
Client *c; Client *c;
for(c = clients; c; c = c->next) 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); resize(c, mox, moy, mow - 2 * c->bw, moh - 2 * c->bw, RESIZEHINTS);
} }