wmii

git clone git://oldgit.suckless.org/wmii/
Log | Files | Refs | README | LICENSE

commit 28e98219e0b9704b4bc4c685e36c1bb2c12834db
parent c74117881e1854872e7b3620df2173ae0919c35f
Author: Anselm R. Garbe <garbeam@wmii.de>
Date:   Thu,  9 Mar 2006 11:42:32 +0100

fixed a bug which caused that arrange_area() worked on floating layout


Diffstat:
cmd/wm/area.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/cmd/wm/area.c b/cmd/wm/area.c @@ -156,10 +156,10 @@ detach_fromarea(Area *a, Client *c) a->nframe--; if(a->sel > 0) a->sel--; - if(a->nframe) + i = area2index(a); + if(i && a->nframe) arrange_area(a); else { - i = area2index(a); if(i && t->narea > 2) destroy_area(a); else if(!i && !a->nframe) {