19 Oct
2021
19 Oct
'21
10:21 p.m.
Testing on Windows confirms this behavior. Signed-off-by: Tim Clem <tclem(a)codeweavers.com> --- v2: Do this at a lower level so that the server (and, e.g., GetClipCursor) stay in sync. 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 622f136930c3..e25e142bd1a6 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"); -- 2.33.0