summaryrefslogtreecommitdiff
path: root/gui/render.c
diff options
context:
space:
mode:
Diffstat (limited to 'gui/render.c')
-rw-r--r--gui/render.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/gui/render.c b/gui/render.c
index bbdcc94..ebdab4e 100644
--- a/gui/render.c
+++ b/gui/render.c
@@ -89,7 +89,10 @@ static gboolean on_draw_event(GtkWidget *widget, cairo_t *cr,
VCS_OVERLAYS_X,
VCS_OVERLAYS_Y + (ctx->showing_history ? ctx->hist_y_offset : 0),
0, 1);
- overlay_draw_all(ctx->pop_overlays, cr, ctx->pop_x, ctx->pop_y);
+ overlay_draw_all(ctx->pop_underlays, cr, ctx->pop_x, ctx->pop_y);
+ overlay_draw_all(ctx->pop_overlays, cr,
+ ctx->pop_x + sign1(ctx->pop_x) * GLABEL_STACK_PADDING,
+ ctx->pop_y + sign1(ctx->pop_y) * GLABEL_STACK_PADDING);
return FALSE;
}