From 818df1078cdee1fc7f64a73371fa5ca6d472ff37 Mon Sep 17 00:00:00 2001 From: Pavel Labath Date: Wed, 27 Jun 2012 16:10:09 +0200 Subject: [PATCH] Bugfix: Shades weren't placed correct after a $goto --- src/conky.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/conky.c b/src/conky.c index f669c01e..d056a57f 100644 --- a/src/conky.c +++ b/src/conky.c @@ -3215,6 +3215,10 @@ int draw_each_line_inner(char *s, int special_index, int last_special_applied) case GOTO: if (specials[special_index].arg >= 0) { cur_x = (int) specials[special_index].arg; +#ifdef BUILD_X11 + //make sure shades are 1 pixel to the right of the text + if(draw_mode == BG) cur_x++; +#endif } break;