diff options
-rw-r--r-- | src/actions.c | 4 | ||||
-rw-r--r-- | src/input.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/actions.c b/src/actions.c index 2b54ad2..c1bf5d4 100644 --- a/src/actions.c +++ b/src/actions.c @@ -1730,8 +1730,8 @@ read_frame (struct argspec *spec, struct sbuf *s, struct cmdarg **arg) XClearWindow (dpy, wins[i]); /* Display the frame's number inside the window. */ - rp_draw_string (s, wins[i], s->normal_gc, - defaults.bar_x_padding, + rp_draw_string (s, wins[i], s->normal_gc, + defaults.bar_x_padding, defaults.bar_y_padding + FONT_ASCENT(s), num, -1); diff --git a/src/input.c b/src/input.c index 94d09dd..ec29fbf 100644 --- a/src/input.c +++ b/src/input.c @@ -446,8 +446,8 @@ 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, - defaults.bar_x_padding, + rp_draw_string (s, s->input_window, s->normal_gc, + defaults.bar_x_padding, defaults.bar_y_padding + FONT_ASCENT(s), line->prompt, -1); |