mirror of
https://github.com/0intro/wmii
synced 2024-11-22 22:02:30 +03:00
fixed drawing frame issue if exclusive column is selected and a nonexclusive column already exists
This commit is contained in:
parent
a56387dae5
commit
eb3b4c3f0f
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user