Module: wine Branch: master Commit: 2407f9b84e52fcf7fc8779c1f3547d9c3be66fa5 URL: https://source.winehq.org/git/wine.git/?a=commit;h=2407f9b84e52fcf7fc8779c1f...
Author: Tim Clem tclem@codeweavers.com Date: Tue Oct 19 14:21:10 2021 -0700
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
---
dlls/winemac.drv/window.c | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/dlls/winemac.drv/window.c b/dlls/winemac.drv/window.c index 622f136930c..e25e142bd1a 100644 --- a/dlls/winemac.drv/window.c +++ b/dlls/winemac.drv/window.c @@ -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");