From: Fernando Tarlá Cardoso Lemos Date: Sun, 18 Dec 2011 14:53:26 +0000 (-0200) Subject: Fix the signal handler popup text. X-Git-Tag: 4.2~177 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=fbf6d20e05f5ba4b92d838972bea25f11a6c8227;p=i3%2Fi3 Fix the signal handler popup text. Thanks to Michael for the heads-up. --- diff --git a/src/sighandler.c b/src/sighandler.c index 86366413..4a0c13b5 100644 --- a/src/sighandler.c +++ b/src/sighandler.c @@ -51,7 +51,7 @@ static int sig_draw_window(xcb_window_t win, int width, int height, int font_hei for (int i = 0; i < sizeof(crash_text) / sizeof(char*); i++) { draw_text(crash_text[i], strlen(crash_text[i]), false, pixmap, pixmap_gc, - 8, 3 + (i - 1) * font_height, width - 16); + 8, 5 + i * font_height, width - 16); } /* Copy the contents of the pixmap to the real window */