[statusbar] Need arrange on every position change
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
05bb1d3833
commit
aa33db169a
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue