commit eb3b4c3f0fd4f982f6a8d38476cd4d22f850a9e7
parent a56387dae523838301909659645d4ee1220c810c
Author: garbeam <garbeam@localhost>
Date: Tue, 10 Jan 2006 18:30:51 +0200
fixed drawing frame issue if exclusive column is selected and a nonexclusive column already exists
Diffstat:
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/cmd/wm/layout_column.c b/cmd/wm/layout_column.c
@@ -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);