winex11: Avoid erasing the window when changing the pixel format.

This commit is contained in:
Alexandre Julliard 2008-06-18 20:10:56 +02:00
parent 815baba090
commit fc8c21c259
1 changed files with 1 additions and 1 deletions
dlls/winex11.drv

View File

@ -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;
}