winex11: Fix the DC rect offset for a released DC.

This commit is contained in:
Alexandre Julliard 2010-02-16 12:37:42 +01:00
parent 21b9049231
commit bcf88b5885
1 changed files with 1 additions and 0 deletions

View File

@ -1956,6 +1956,7 @@ void CDECL X11DRV_ReleaseDC( HWND hwnd, HDC hdc )
escape.drawable_rect = virtual_screen_rect;
SetRect( &escape.dc_rect, 0, 0, virtual_screen_rect.right - virtual_screen_rect.left,
virtual_screen_rect.bottom - virtual_screen_rect.top );
OffsetRect( &escape.dc_rect, -escape.drawable_rect.left, -escape.drawable_rect.top );
escape.fbconfig_id = 0;
escape.gl_drawable = 0;
escape.pixmap = 0;