mirror of
https://github.com/Llewellynvdm/conky.git
synced 2024-12-26 04:17:33 +00:00
Fixed foreground colors being semi-transparent
Signed-off-by: Brenden Matthews <brenden@diddyinc.com>
This commit is contained in:
parent
eb0a4cc418
commit
30295b672d
12
src/conky.c
12
src/conky.c
@ -3084,12 +3084,14 @@ int draw_each_line_inner(char *s, int special_index, int last_special_applied)
|
||||
);
|
||||
}
|
||||
#endif /* DEBUG_lol */
|
||||
XSetForeground(display, window.gc, tmpcolour[
|
||||
(int)((float)(w - 2) - specials[special_index].graph[j] *
|
||||
(w - 2) / (float)specials[special_index].graph_scale)
|
||||
]);
|
||||
set_foreground_color(tmpcolour[
|
||||
(int)((float)(w - 2) -
|
||||
specials[special_index].graph[j]
|
||||
* (w - 2) /
|
||||
(float)specials[special_index].graph_scale)
|
||||
]);
|
||||
} else {
|
||||
XSetForeground(display, window.gc, tmpcolour[colour_idx++]);
|
||||
set_foreground_color(tmpcolour[colour_idx++]);
|
||||
}
|
||||
}
|
||||
/* this is mugfugly, but it works */
|
||||
|
Loading…
Reference in New Issue
Block a user