April 9, 2026
10:36 a.m.
From: Feifan He <feifan@codeweavers.com> --- dlls/winemac.drv/mouse.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/dlls/winemac.drv/mouse.c b/dlls/winemac.drv/mouse.c index c655f56bd98..ee876d5355c 100644 --- a/dlls/winemac.drv/mouse.c +++ b/dlls/winemac.drv/mouse.c @@ -665,9 +665,7 @@ BOOL macdrv_ClipCursor(const RECT *clip, BOOL reset) TRACE("%s %u\n", wine_dbgstr_rect(clip), reset); - if (reset) return TRUE; - - if (clip) + if (!reset && clip) { rect = CGRectMake(clip->left, clip->top, max(1, clip->right - clip->left), max(1, clip->bottom - clip->top)); -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/10613