1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2024-12-24 11:55:43 +00:00
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky@146 7f574dfc-610e-0410-a909-a81674777703
This commit is contained in:
Brenden Matthews 2005-08-22 01:22:34 +00:00
parent c7272e9f56
commit d675f04728

View File

@ -2745,7 +2745,11 @@ short colour_depth = 0;
void set_up_gradient()
{
#ifdef X11
colour_depth = DisplayPlanes(display, screen);
#else
colour_depth = 16;
#endif /* X11 */
if (colour_depth != 24 && colour_depth != 16) {
ERR("using non-standard colour depth, gradients may look like a lolly-pop");
}