From a007283773b9611e9f50dd6dff49fae0069b520d Mon Sep 17 00:00:00 2001 From: Quentin Glidic Date: Tue, 28 Aug 2012 11:44:09 +0200 Subject: [PATCH] i3-input: Fix text drawing offset --- i3-input/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/i3-input/main.c b/i3-input/main.c index fbc551e6..b3e626e6 100644 --- a/i3-input/main.c +++ b/i3-input/main.c @@ -125,7 +125,7 @@ static int handle_expose(void *data, xcb_connection_t *conn, xcb_expose_event_t if (input_position > 0) { i3String *input = i3string_from_ucs2(glyphs_ucs, input_position); - draw_text(input, pixmap, pixmap_gc, 4, 4, 492); + draw_text(input, pixmap, pixmap_gc, prompt_offset + 4, 4, 492); i3string_free(input); } -- 2.39.5