Alexandre Julliard : winex11: Avoid erasing the window when changing the pixel format.
Alexandre Julliard
julliard at winehq.org
Thu Jun 19 06:37:04 CDT 2008
Module: wine
Branch: master
Commit: fc8c21c259dc8e4ca23cb7052939bd18551442f8
URL: http://source.winehq.org/git/wine.git/?a=commit;h=fc8c21c259dc8e4ca23cb7052939bd18551442f8
Author: Alexandre Julliard <julliard at winehq.org>
Date: Wed Jun 18 20:10:56 2008 +0200
winex11: Avoid erasing the window when changing the pixel format.
---
dlls/winex11.drv/window.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/winex11.drv/window.c b/dlls/winex11.drv/window.c
index e8535bc..26f037a 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;
}
More information about the wine-cvs
mailing list