commit bb0ad4f2321591fc41a32078a0b5ea15662f530c
parent 9b5e93ba53f2028a14abee96e47890b88583e63a
Author: Anselm R. Garbe <garbeam@wmii.de>
Date: Wed, 31 May 2006 17:00:32 +0200
merged
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/cmd/wm/area.c b/cmd/wm/area.c
@@ -251,7 +251,7 @@ attach_to_area(Area *a, Client *c, Bool send)
if(!send && aidx) { /* column */
unsigned int nc = ncol_of_view(v);
if(v->area.data[1]->frame.size && nc && nc > v->area.size - 1) {
- a = create_area(v, ++v->sel);
+ a = new_column(v, v->sel + 1);
arrange_view(v);
}
}