diff options
author | sabetts <sabetts> | 2003-09-21 21:30:52 +0000 |
---|---|---|
committer | sabetts <sabetts> | 2003-09-21 21:30:52 +0000 |
commit | d51ea7ebc8ffcefc1926165b482b087e06f7a36e (patch) | |
tree | 28c2f962dd793dd1914cb231b406720ac0c09220 /src | |
parent | 48c9c4eb8d5d73fd5ed8b0626dfd354339c3865b (diff) | |
download | ratpoison-d51ea7ebc8ffcefc1926165b482b087e06f7a36e.zip |
(prepare_bar): move and resize the window before mapping it.
Diffstat (limited to 'src')
-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); |