fixed drawing frame issue if exclusive column is selected and a nonexclusive column already exists

This commit is contained in:
garbeam 2006-01-10 18:30:51 +02:00
parent a56387dae5
commit eb3b4c3f0f

View File

@ -239,8 +239,11 @@ attach_col(Area * a, Client * c)
acme->columns = acme->sel = col;
acme->ncolumns++;
}
else if(col->exclusive && col->ncells && col->next)
else if(col->exclusive && col->ncells && col->next) {
f = col->sel->frame;
acme->sel = col = col->next;
draw_frame(f);
}
f = alloc_frame(&c->rect);
attach_frame(a, col, f);