From aa33db169a1bc3614fb2e8de4f9afb81b7907173 Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Tue, 27 May 2008 15:23:24 +0200 Subject: [PATCH] [statusbar] Need arrange on every position change Signed-off-by: Julien Danjou --- statusbar.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/statusbar.c b/statusbar.c index 900e9366..5bde0701 100644 --- a/statusbar.c +++ b/statusbar.c @@ -113,6 +113,8 @@ statusbar_position_update(statusbar_t *statusbar, position_t position) xcb_screen_t *s = NULL; bool ignore = false; + globalconf.screens[statusbar->screen].need_arrange = true; + simplewindow_delete(&statusbar->sw); draw_context_delete(&statusbar->ctx); @@ -294,7 +296,6 @@ statusbar_position_update(statusbar_t *statusbar, position_t position) break; } - globalconf.screens[statusbar->screen].need_arrange = true; xcb_map_window(globalconf.connection, statusbar->sw->window); statusbar_draw(statusbar); }