wmii

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

commit fd9dbf43e02dabf95fc828507047ab1741f5e96b
parent ee58535ee01084aaedddfca5f608508887f13dc6
Author: Anselm R. Garbe <garbeam@wmii.de>
Date:   Wed,  8 Mar 2006 23:58:21 +0100

fixed annoying area[0] removal on detach_fromarea


Diffstat:
cmd/wm/area.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cmd/wm/area.c b/cmd/wm/area.c @@ -159,7 +159,7 @@ detach_fromarea(Area *a, Client *c) if(a->nframe) arrange_area(a); else { - if(t->narea > 2) + if(area2index(a) && t->narea > 2) destroy_area(a); arrange_tag(t, True); }