mirror of git://git.suckless.org/dwm
applied the proposed monocle patch from the mailinglist
This commit is contained in:
parent
08c596ed10
commit
940240e5e6
2
dwm.c
2
dwm.c
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue