winemac: Hide cursor when first requested even if we don't know it's over a window.

Ken Thomases ken at codeweavers.com
Wed Oct 30 08:07:51 CDT 2013


The tracking of whether it is over a window or not is only updated when the
mouse moves.  If a window was created or moved under it, then the state can be
stale.  That caused us to defer hiding the cursor until the mouse was moved.
This happens at the start of games pretty often.

With this change, it hides immediately.  If it's not over a window, it will be
shown when it's moved.
---
dlls/winemac.drv/cocoa_app.m |   12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-winemac-Hide-cursor-when-first-requested-even-if-we-.patch
Type: text/x-patch
Size: 1513 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20131030/73929dcc/attachment.bin>


More information about the wine-patches mailing list