From 3ab853af65b6167c9af83713e4d337fdca008618 Mon Sep 17 00:00:00 2001 From: Phil Sutter Date: Sun, 10 Jan 2010 22:07:52 +0100 Subject: [PATCH] fix for a fatal X11 error (possible creation of zero-sized window) --- src/conky.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/conky.cc b/src/conky.cc index e92e6566..4d329984 100644 --- a/src/conky.cc +++ b/src/conky.cc @@ -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 {