[PATCH 1/2] winex11.drv: make X11DRV_GetSystemPaletteEntries work in non-palettized modes
Alexander Dorofeyev
alexd14 at hushmail.com
Thu Oct 18 01:46:35 CDT 2007
Hello.
On Windows, GetSystemPaletteEntries() call in non-palettized graphics
modes returns back reserved colors from the default palette. This patch
modifies winex11.drv's X11DRV_GetSystemPaletteEntries() function to
imitate this behavior instead of just returning 0. This partially solves
bug #201 (helps igowin.exe transparency problem, untested with another app).
---
dlls/winex11.drv/palette.c | 34 ++++++++++++++++++++++++++++++++++
1 files changed, 34 insertions(+), 0 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dc6950e972972105fbdb2490600292b096869a59.diff
Type: text/x-patch
Size: 1907 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20071017/0278a27f/attachment-0001.bin
More information about the wine-patches
mailing list