winex11.drv: Calculate the cursor bitmap offsets in a way consistent with user32.

Andrew Riedi andrewriedi at gmail.com
Tue Dec 30 18:45:16 CST 2008


This partially fixes bug #9952. ( http://bugs.winehq.org/show_bug.cgi?id=9952 )
May also impact bug #16558. ( http://bugs.winehq.org/show_bug.cgi?id=16558 )

The current code assumes that cursors are factors of 8 in size and
thus incorrectly calculates the XOR offset.  This patch fixes the
offset for the XOR bitmap.  Making the AND bitmap render correctly is
a more complicated matter, and is really a separate issue, so it will
have to be fixed in a separate patch.

Changelog:
winex11.drv: Calculate the cursor bitmap offsets in a way consistent
with user32.

-- 
Andrew Riedi
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0003-winex11.drv-Calculate-the-cursor-bitmap-offsets-in-a.txt
Url: http://www.winehq.org/pipermail/wine-patches/attachments/20081230/f277429c/attachment.txt 


More information about the wine-patches mailing list