winemac: Hide cursor when first requested even if we don't know it's over a window.
commit6b9f81271b4b150244ed37fbda79103ba16dcbf4
authorKen Thomases <ken@codeweavers.com>
Wed, 30 Oct 2013 13:07:51 +0000 (30 08:07 -0500)
committerAlexandre Julliard <julliard@winehq.org>
Wed, 30 Oct 2013 14:29:42 +0000 (30 15:29 +0100)
treefaa727487cd48ea53bc58ca65ba947a1de847ac1
parent2f68e47167925993947ac07e360e9fa251c50979
winemac: Hide cursor when first requested even if we don't know it's over a window.

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.
dlls/winemac.drv/cocoa_app.m