winex11: Update Virtual Desktop fullscreen WM state after setting window pos.
To make sure the hints are set up properly first. Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=56149 Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
This commit is contained in:
parent
75a774f90a
commit
4054795ff1
1 changed files with 1 additions and 1 deletions
|
@ -149,10 +149,10 @@ void X11DRV_resize_desktop(void)
|
|||
height = primary_rect.bottom;
|
||||
|
||||
TRACE( "desktop %p change to (%dx%d)\n", hwnd, width, height );
|
||||
update_desktop_fullscreen( width, height );
|
||||
NtUserSetWindowPos( hwnd, 0, virtual_rect.left, virtual_rect.top,
|
||||
virtual_rect.right - virtual_rect.left, virtual_rect.bottom - virtual_rect.top,
|
||||
SWP_NOZORDER | SWP_NOACTIVATE | SWP_DEFERERASE );
|
||||
update_desktop_fullscreen( width, height );
|
||||
|
||||
if (old_virtual_rect.left != virtual_rect.left || old_virtual_rect.top != virtual_rect.top)
|
||||
send_message_timeout( HWND_BROADCAST, WM_X11DRV_DESKTOP_RESIZED, old_virtual_rect.left,
|
||||
|
|
Loading…
Add table
Reference in a new issue