From 0e8242213258f84294fded3ddf1b6423c78110cd Mon Sep 17 00:00:00 2001 From: Daniel Pielmeier Date: Fri, 19 Jan 2018 15:07:32 +0100 Subject: [PATCH] Fix drawing text shades (#371) --- src/conky.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/conky.cc b/src/conky.cc index 444d12f6..d23ebd4f 100644 --- a/src/conky.cc +++ b/src/conky.cc @@ -1930,7 +1930,9 @@ static void draw_text(void) static void draw_stuff(void) { +#ifndef BUILD_X11 static int text_offset_x, text_offset_y; /* offset for start position */ +#endif text_offset_x = text_offset_y = 0; #ifdef BUILD_IMLIB2 cimlib_render(text_start_x, text_start_y, window.width, window.height);