Module: wine Branch: master Commit: e7f30014c307cf69f9c4e7c472ee38338e0b2638 URL: http://source.winehq.org/git/wine.git/?a=commit;h=e7f30014c307cf69f9c4e7c472...
Author: Alexandre Julliard julliard@winehq.org Date: Mon Jul 24 17:04:35 2017 +0200
user32: Always update the visible region for cross-process DCEs.
Signed-off-by: Alexandre Julliard julliard@winehq.org
---
dlls/user32/painting.c | 3 +++ 1 file changed, 3 insertions(+)
diff --git a/dlls/user32/painting.c b/dlls/user32/painting.c index 2130473..6cc9a7e 100644 --- a/dlls/user32/painting.c +++ b/dlls/user32/painting.c @@ -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 );