mirror of
https://github.com/Llewellynvdm/conky.git
synced 2025-02-05 13:38:33 +00:00
Bugfix: Shades weren't placed correct after a $goto
This commit is contained in:
parent
8827d6158e
commit
818df1078c
@ -3215,6 +3215,10 @@ int draw_each_line_inner(char *s, int special_index, int last_special_applied)
|
|||||||
case GOTO:
|
case GOTO:
|
||||||
if (specials[special_index].arg >= 0) {
|
if (specials[special_index].arg >= 0) {
|
||||||
cur_x = (int) specials[special_index].arg;
|
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;
|
break;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user