http://bugs.winehq.org/show_bug.cgi?id=4863
------- Additional Comments From sebern@web.de 2006-01-12 09:58 ------- Just check the current GIT and it's working now, icons are colored again. There was a change in dib.c (see below GIT vs 0.9.26) which did the trick. I apply the patch to 0.9.26 source, compile it and copy wineX11.drv.co into the 0.9.26 installation. With upcoming 0.9.27 the problem should be solved.
--- dib.c 2006-11-24 17:18:04.000000000 +0100 +++ dlls-winex11.drv-dib.c 2006-12-01 16:34:22.000000000 +0100 @@ -312,7 +312,7 @@ static int *X11DRV_DIB_GenColorMap( X11D } else for (i = start; i < end; i++, rgb++) - colorMapping[i] = X11DRV_PALETTE_ToPhysical( physDev, RGB(rgb->rgbRed, + colorMapping[i] = X11DRV_PALETTE_ToPhysical( NULL, RGB(rgb->rgbRed, rgb->rgbGreen, rgb->rgbBlue)); } @@ -336,7 +336,7 @@ static int *X11DRV_DIB_GenColorMap( X11D } else for (i = start; i < end; i++, rgb++) - colorMapping[i] = X11DRV_PALETTE_ToPhysical( physDev, RGB(rgb->rgbtRed, + colorMapping[i] = X11DRV_PALETTE_ToPhysical( NULL, RGB(rgb->rgbtRed, rgb->rgbtGreen, rgb->rgbtBlue)); }