winex11.drv: Assign struct.

This commit is contained in:
Kusanagi Kouichi 2012-01-11 21:58:11 +09:00 committed by Alexandre Julliard
parent 4f9bc837d8
commit f56e1fcf7c
1 changed files with 1 additions and 4 deletions

View File

@ -2272,10 +2272,7 @@ void CDECL X11DRV_GetDC( HDC hdc, HWND hwnd, HWND top, const RECT *win_rect,
escape.dc_rect.top = win_rect->top - top_rect->top;
escape.dc_rect.right = win_rect->right - top_rect->left;
escape.dc_rect.bottom = win_rect->bottom - top_rect->top;
escape.drawable_rect.left = top_rect->left;
escape.drawable_rect.top = top_rect->top;
escape.drawable_rect.right = top_rect->right;
escape.drawable_rect.bottom = top_rect->bottom;
escape.drawable_rect = *top_rect;
if (top == hwnd)
{