Commit e7f30014 authored by Alexandre Julliard's avatar Alexandre Julliard

user32: Always update the visible region for cross-process DCEs.

parent d0e8170c
......@@ -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 );
......
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