From 56ddea77a80114dab6542923fc2b09ac00442c39 Mon Sep 17 00:00:00 2001 From: Kevin Lyles Date: Thu, 5 Aug 2010 21:34:06 -0500 Subject: [PATCH] Fixed foreground colors being semi-transparent Signed-off-by: Brenden Matthews --- src/conky.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/conky.cc b/src/conky.cc index 9177c898..bbe04291 100644 --- a/src/conky.cc +++ b/src/conky.cc @@ -1547,12 +1547,12 @@ int draw_each_line_inner(char *s, int special_index, int last_special_applied) ); } #endif /* DEBUG_lol */ - XSetForeground(display, window.gc, tmpcolour[ + set_foreground_color(tmpcolour[ (int)((float)(w - 2) - current->graph[j] * (w - 2) / (float)current->scale) ]); } else { - XSetForeground(display, window.gc, tmpcolour[colour_idx++]); + set_foreground_color(tmpcolour[colour_idx++]); } } /* this is mugfugly, but it works */