In GetDC use the parent drawable when DCX_PARENTCLIP is set.
This commit is contained in:
parent
100073e17a
commit
8680ce1a0e
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue