commit 0ca60e5f67e651c7d4fe584b73234ec7395d6c3b
parent 6480796f1e6d50ffc78123bebcf4e1ec0d8330d4
Author: Kris Maglione <jg@suckless.org>
Date: Sat, 10 Feb 2007 23:11:35 -0500
Fix bug and add clients to an area after the selected client.
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/area.c b/area.c
@@ -148,9 +148,9 @@ attach_to_area(Area *a, Frame *f, Bool send) {
scale_column(a, a->rect.height - h);
}
if(a->sel)
- insert_frame(nil, f, False);
- else
insert_frame(a->sel, f, False);
+ else
+ insert_frame(nil, f, False);
if(!a->floating)
f->rect.height = h;