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