mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-15 06:21:15 +00:00
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:
parent
4aac5089f3
commit
6bf3b5539a
|
@ -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 */
|
||||
|
||||
|
|
Loading…
Reference in a new issue