mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-30 06:21:47 +00:00
win32u: Avoid setting the SWP_NOSIZE flag on the initial WM_DISPLAYCHANGE.
By initializing the desktop window proc virtual rect cache. Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=56841
This commit is contained in:
parent
1e701a6b37
commit
6b1becc3e0
|
@ -2977,7 +2977,7 @@ LRESULT desktop_window_proc( HWND hwnd, UINT msg, WPARAM wparam, LPARAM lparam )
|
|||
return 0;
|
||||
case WM_DISPLAYCHANGE:
|
||||
{
|
||||
static RECT virtual_rect;
|
||||
static RECT virtual_rect = {INT_MIN,INT_MIN,INT_MAX,INT_MAX};
|
||||
|
||||
RECT new_rect = NtUserGetVirtualScreenRect(), old_rect = virtual_rect;
|
||||
UINT context, flags = 0;
|
||||
|
|
Loading…
Reference in a new issue