USER32: Hide cursor when calling SetCursor with NULL HCURSOR
Justin Chevrier
jchevrier at nexicom.net
Fri Feb 3 18:50:51 CST 2006
I've been doing a little work trying to brush up a few rough edges in Master
of Orion 2. One issue that was obvious was that the X cursor was always over
top of the in game cursor, In Windows the system cursor is hidden. So I did a
little investigation and found that if SetCursor is called with a NULL
HCURSOR the cursor should be hidden. We were not handling this case. The
following patch corrects this and properly hides the cursor in Master of
Orion 2.
Changelog:
Hide cursor if SetCursor is called with a NULL HCURSOR
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hidecursor.diff
Type: text/x-diff
Size: 1042 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20060203/536f9bce/hidecursor-0001.diff
More information about the wine-patches
mailing list