Module: wine Branch: master Commit: 6a2ac97e0b339843dad64c0fb0d4391223bad4aa URL: http://source.winehq.org/git/wine.git/?a=commit;h=6a2ac97e0b339843dad64c0fb0...
Author: Alexandre Julliard julliard@winehq.org Date: Wed Feb 6 20:36:19 2008 +0100
winex11: Don't erase the desktop window synchronously on resizes to prevent deadlocks.
---
dlls/winex11.drv/winpos.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/winex11.drv/winpos.c b/dlls/winex11.drv/winpos.c index 1a3cde5..75906d3 100644 --- a/dlls/winex11.drv/winpos.c +++ b/dlls/winex11.drv/winpos.c @@ -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 ); }