winemac.drv: Stop cursor clipping when the app deactivates.

Testing on Windows confirms this behavior.

Signed-off-by: Tim Clem <tclem@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Tim Clem 2021-10-19 14:21:10 -07:00 committed by Alexandre Julliard
parent 325cc98d7d
commit 2407f9b84e
1 changed files with 2 additions and 0 deletions

View File

@ -2406,6 +2406,8 @@ void macdrv_app_activated(void)
*/
void macdrv_app_deactivated(void)
{
ClipCursor(NULL);
if (GetActiveWindow() == GetForegroundWindow())
{
TRACE("setting fg to desktop\n");