user32: Always update the visible region for cross-process DCEs.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
d0e8170c90
commit
e7f30014c3
|
@ -1111,6 +1111,9 @@ HDC WINAPI GetDCEx( HWND hwnd, HRGN hrgnClip, DWORD flags )
|
|||
dce->hwnd = hwnd;
|
||||
dce->flags = (dce->flags & ~user_flags) | (flags & user_flags);
|
||||
|
||||
/* cross-process invalidation is not supported yet, so always update the vis rgn */
|
||||
if (!WIN_IsCurrentProcess( hwnd )) bUpdateVisRgn = TRUE;
|
||||
|
||||
if (SetHookFlags( dce->hdc, DCHF_VALIDATEVISRGN )) bUpdateVisRgn = TRUE; /* DC was dirty */
|
||||
|
||||
if (bUpdateVisRgn) update_visible_region( dce );
|
||||
|
|
Loading…
Reference in New Issue