diff options
author | Shawn Betts <sabetts@gmail.com> | 2009-07-04 20:58:21 -0700 |
---|---|---|
committer | Shawn Betts <sabetts@gmail.com> | 2009-07-04 20:58:21 -0700 |
commit | 14beabe55fa3cac03f598e138f363f1d50659564 (patch) | |
tree | 2a23a383df0a818d60593e34d7dd73f1d408658a /src/input.c | |
parent | 166021512b2e39344ff4562323d15a1e2fdea153 (diff) | |
download | ratpoison-14beabe55fa3cac03f598e138f363f1d50659564.zip |
fix inverted text when using xftwinliststyle-row_broken
Now the inverted rectangle is drawn first and the text overtop in the bg color.
Diffstat (limited to 'src/input.c')
-rw-r--r-- | src/input.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/input.c b/src/input.c index 35454df..e2c3054 100644 --- a/src/input.c +++ b/src/input.c @@ -450,13 +450,13 @@ update_input_window (rp_screen *s, rp_input_line *line) XClearWindow (dpy, s->input_window); XSync (dpy, False); - rp_draw_string (s, s->input_window, s->normal_gc, + rp_draw_string (s, s->input_window, STYLE_NORMAL, defaults.bar_x_padding, defaults.bar_y_padding + FONT_ASCENT(s), line->prompt, -1); - rp_draw_string (s, s->input_window, s->normal_gc, + rp_draw_string (s, s->input_window, STYLE_NORMAL, defaults.bar_x_padding + prompt_width, defaults.bar_y_padding + FONT_ASCENT(s), line->buffer, |