wibox: initialize wibox borders correctly (FS#343)
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
4379f702c3
commit
96c23ad5cb
6
wibox.c
6
wibox.c
|
@ -573,9 +573,13 @@ wibox_attach(wibox_t *wibox, screen_t *s)
|
||||||
wibox_position_update(wibox);
|
wibox_position_update(wibox);
|
||||||
|
|
||||||
simplewindow_init(&wibox->sw, phys_screen,
|
simplewindow_init(&wibox->sw, phys_screen,
|
||||||
wibox->sw.geometry, 0, wibox->sw.orientation,
|
wibox->sw.geometry,
|
||||||
|
wibox->sw.border.width,
|
||||||
|
wibox->sw.orientation,
|
||||||
&wibox->sw.ctx.fg, &wibox->sw.ctx.bg);
|
&wibox->sw.ctx.fg, &wibox->sw.ctx.bg);
|
||||||
|
|
||||||
|
simplewindow_border_color_set(&wibox->sw, &wibox->sw.border.color);
|
||||||
|
|
||||||
wibox->need_update = true;
|
wibox->need_update = true;
|
||||||
|
|
||||||
if(wibox->isvisible)
|
if(wibox->isvisible)
|
||||||
|
|
Loading…
Reference in New Issue