diff options
Diffstat (limited to 'src/bar.c')
-rw-r--r-- | src/bar.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -367,6 +367,10 @@ correct_mark (int msg_len, int *mark_start, int *mark_end) static void prepare_bar (rp_screen *s, int width, int height) { + XMoveResizeWindow (dpy, s->bar_window, + bar_x (s, width), bar_y (s, height), + width, height); + /* Map the bar if needed */ if (!s->bar_is_raised) { @@ -374,10 +378,6 @@ prepare_bar (rp_screen *s, int width, int height) XMapRaised (dpy, s->bar_window); } - XMoveResizeWindow (dpy, s->bar_window, - bar_x (s, width), bar_y (s, height), - width, height); - XRaiseWindow (dpy, s->bar_window); XClearWindow (dpy, s->bar_window); XSync (dpy, False); |