Commit fc8c21c2 authored by Alexandre Julliard's avatar Alexandre Julliard

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

parent 815baba0
...@@ -527,7 +527,7 @@ done: ...@@ -527,7 +527,7 @@ done:
/* force DCE invalidation */ /* force DCE invalidation */
SetWindowPos( hwnd, 0, 0, 0, 0, 0, SetWindowPos( hwnd, 0, 0, 0, 0, 0,
SWP_NOACTIVATE | SWP_NOZORDER | SWP_NOSIZE | SWP_NOMOVE | SWP_NOACTIVATE | SWP_NOZORDER | SWP_NOSIZE | SWP_NOMOVE |
SWP_NOREDRAW | SWP_NOSENDCHANGING | SWP_STATECHANGED); SWP_NOREDRAW | SWP_DEFERERASE | SWP_NOSENDCHANGING | SWP_STATECHANGED);
return TRUE; return TRUE;
} }
......
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