Commit 8680ce1a authored by Alexandre Julliard's avatar Alexandre Julliard

In GetDC use the parent drawable when DCX_PARENTCLIP is set.

parent 100073e1
......@@ -417,7 +417,7 @@ BOOL X11DRV_GetDC( HWND hwnd, HDC hdc, HRGN hrgn, DWORD flags )
if (top != hwnd)
{
escape.drawable_org.x = escape.drawable_org.y = 0;
if (flags & DCX_WINDOW)
if (flags & (DCX_WINDOW|DCX_PARENTCLIP))
{
escape.org.x = win->rectWindow.left - win->rectClient.left;
escape.org.y = win->rectWindow.top - win->rectClient.top;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment