From 96c23ad5cb28d8eeb280f2e0de54bb7b7b923d08 Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Tue, 14 Oct 2008 17:31:27 +0200 Subject: [PATCH] wibox: initialize wibox borders correctly (FS#343) Signed-off-by: Julien Danjou --- wibox.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/wibox.c b/wibox.c index c5ffdcc2..2eafacee 100644 --- a/wibox.c +++ b/wibox.c @@ -573,9 +573,13 @@ wibox_attach(wibox_t *wibox, screen_t *s) wibox_position_update(wibox); 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); + simplewindow_border_color_set(&wibox->sw, &wibox->sw.border.color); + wibox->need_update = true; if(wibox->isvisible)