Commit 6a2ac97e authored by Alexandre Julliard's avatar Alexandre Julliard

winex11: Don't erase the desktop window synchronously on resizes to prevent deadlocks.

parent 533b15d6
......@@ -896,7 +896,7 @@ void X11DRV_resize_desktop( unsigned int width, unsigned int height )
SetWindowPos( hwnd, 0, virtual_screen_rect.left, virtual_screen_rect.top,
virtual_screen_rect.right - virtual_screen_rect.left,
virtual_screen_rect.bottom - virtual_screen_rect.top,
SWP_NOZORDER | SWP_NOACTIVATE );
SWP_NOZORDER | SWP_NOACTIVATE | SWP_DEFERERASE );
SendMessageTimeoutW( HWND_BROADCAST, WM_DISPLAYCHANGE, screen_bpp,
MAKELPARAM( width, height ), SMTO_ABORTIFHUNG, 2000, NULL );
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment