From: Alexandre Julliard Date: Wed, 18 Jun 2008 18:10:56 +0000 (+0200) Subject: winex11: Avoid erasing the window when changing the pixel format. X-Git-Tag: wine-1.1.0~487 X-Git-Url: http://git.etersoft.ru/projects/?a=commitdiff_plain;h=fc8c21c259dc8e4ca23cb7052939bd18551442f8;p=wine%2Feterwine.git winex11: Avoid erasing the window when changing the pixel format. --- diff --git a/dlls/winex11.drv/window.c b/dlls/winex11.drv/window.c index e8535bc2af..26f037a590 100644 --- a/dlls/winex11.drv/window.c +++ b/dlls/winex11.drv/window.c @@ -527,7 +527,7 @@ done: /* force DCE invalidation */ SetWindowPos( hwnd, 0, 0, 0, 0, 0, SWP_NOACTIVATE | SWP_NOZORDER | SWP_NOSIZE | SWP_NOMOVE | - SWP_NOREDRAW | SWP_NOSENDCHANGING | SWP_STATECHANGED); + SWP_NOREDRAW | SWP_DEFERERASE | SWP_NOSENDCHANGING | SWP_STATECHANGED); return TRUE; }