Fixed empty column bug when moving last client with the mouse

This commit is contained in:
sqweek 2007-09-27 23:25:28 +08:00
parent c7593d27df
commit dc1b8042ab
1 changed files with 2 additions and 3 deletions

View File

@ -289,9 +289,8 @@ horiz:
resize_frame(f->aprev, f->aprev->r);
}
remove_frame(f);
f->area = fw->ra;
insert_frame(fw->fp, f);
detach_from_area(f);
attach_to_area(fw->ra, f);
if(f->aprev) {
f->aprev->r.max.y = fw->fr.min.y;