[PATCH 2/5] winemac.drv: Stop cursor clipping when the app deactivates.

Tim Clem tclem at codeweavers.com
Thu Oct 14 13:39:14 CDT 2021


Testing on Windows confirms this behavior.

Signed-off-by: Tim Clem <tclem at codeweavers.com>
---
 dlls/winemac.drv/cocoa_app.m | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dlls/winemac.drv/cocoa_app.m b/dlls/winemac.drv/cocoa_app.m
index 806252651613..1e3fd5a9d339 100644
--- a/dlls/winemac.drv/cocoa_app.m
+++ b/dlls/winemac.drv/cocoa_app.m
@@ -2340,6 +2340,7 @@ - (void)applicationDidResignActive:(NSNotification *)notification
 
         macdrv_release_event(event);
 
+        [self stopClippingCursor];
         [self releaseMouseCapture];
     }
 
-- 
2.33.0




More information about the wine-devel mailing list