Last commit done right.

This commit is contained in:
Kris Maglione 2007-02-08 21:32:47 -05:00
parent e8913c2afe
commit bf6776794c

7
area.c
View File

@ -267,13 +267,10 @@ detach_from_area(Area *a, Frame *f) {
c = f->client;
for(pr = a->frame; pr; pr = pr->anext)
if(pr->next == f) break;
if(pr->anext == f) break;
remove_frame(f);
if(a->sel == f) {
if(a->sel == f)
a->sel = pr;
if(f->anext)
a->sel = f->anext;
}
if(!a->floating) {
if(a->frame)