X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=src%2Fsighandler.c;h=4a0c13b5aa1a396f40fa5f29af9c7ff820652aa8;hb=622b94f176c3a6959c13ca2162be673c7b8028c4;hp=863664133de74997b0c925bb2d3eed992046d70a;hpb=2ba09f54197b4bd67d9e5a79afee09919508de93;p=i3%2Fi3 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 */