1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2024-11-18 02:55:12 +00:00

fix for a fatal X11 error (possible creation of zero-sized window)

This commit is contained in:
Phil Sutter 2010-01-10 22:07:52 +01:00
parent 0bdff28f69
commit 3ab853af65

View File

@ -293,7 +293,7 @@ struct _x11_stuff_s {
/* text size */
static int text_start_x, text_start_y; /* text start position in window */
static int text_width, text_height;
static int text_width = 1, text_height = 1; /* initially 1 so no zero-sized window is created */
/* alignments */
enum alignment {