]> git.sur5r.net Git - i3/i3/commitdiff
Fix the signal handler popup text.
authorFernando Tarlá Cardoso Lemos <fernandotcl@gmail.com>
Sun, 18 Dec 2011 14:53:26 +0000 (12:53 -0200)
committerMichael Stapelberg <michael@stapelberg.de>
Sun, 18 Dec 2011 15:43:00 +0000 (15:43 +0000)
Thanks to Michael for the heads-up.

src/sighandler.c

index 863664133de74997b0c925bb2d3eed992046d70a..4a0c13b5aa1a396f40fa5f29af9c7ff820652aa8 100644 (file)
@@ -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 */