winex11.drv: Avoid copying invalid window bits.

This commit is contained in:
Dmitry Timoshkov 2010-09-14 14:24:11 +09:00 committed by Alexandre Julliard
parent c912af04de
commit 7864ade5a8
1 changed files with 2 additions and 0 deletions

View File

@ -1615,6 +1615,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 );