Dmitry Timoshkov : winex11.drv: Avoid copying invalid window bits.
Alexandre Julliard
julliard at winehq.org
Tue Oct 5 14:41:49 CDT 2010
Module: wine
Branch: stable
Commit: ab8b8356164743d9e4a5981a5e87a610507be193
URL: http://source.winehq.org/git/wine.git/?a=commit;h=ab8b8356164743d9e4a5981a5e87a610507be193
Author: Dmitry Timoshkov <dmitry at codeweavers.com>
Date: Tue Sep 14 14:24:11 2010 +0900
winex11.drv: Avoid copying invalid window bits.
(cherry picked from commit 7864ade5a8306c0078e16ae6d7e40bdece29395b)
---
dlls/winex11.drv/window.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/dlls/winex11.drv/window.c b/dlls/winex11.drv/window.c
index e288b82..5e8b88e 100644
--- a/dlls/winex11.drv/window.c
+++ b/dlls/winex11.drv/window.c
@@ -1619,6 +1619,8 @@ static void move_window_bits( struct x11drv_win_data *data, const RECT *old_rect
hdc_src = hdc_dst = GetDCEx( data->hwnd, 0, DCX_CACHE );
}
+ ExcludeUpdateRgn( hdc_dst, data->hwnd );
+
code = X11DRV_START_EXPOSURES;
ExtEscape( hdc_dst, X11DRV_ESCAPE, sizeof(code), (LPSTR)&code, 0, NULL );
More information about the wine-cvs
mailing list