win32u: Don't clip fullscreen windows while capturing mouse pointer.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53831
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
This commit is contained in:
Gabriel Ivăncescu 2023-07-05 20:58:35 +03:00 committed by Alexandre Julliard
parent 4aac5089f3
commit 6bf3b5539a

View file

@ -2486,6 +2486,7 @@ BOOL clip_fullscreen_window( HWND hwnd, BOOL reset )
if (!NtUserGetWindowRect( hwnd, &rect )) return FALSE;
if (!NtUserIsWindowRectFullScreen( &rect )) return FALSE;
if (get_capture()) return FALSE;
if (NtGetTickCount() - thread_info->clipping_reset < 1000) return FALSE;
if (!reset && clipping_cursor && thread_info->clipping_cursor) return FALSE; /* already clipping */