From: Jérôme Gardou Date: Mon, 4 Aug 2014 15:58:53 +0000 (+0000) Subject: [WIN32K] X-Git-Tag: backups/0.3.17@66124~843 X-Git-Url: https://git.reactos.org/?p=reactos.git;a=commitdiff_plain;h=86bb7a74cac1e95d447c75f96a74594d06c814ef [WIN32K] - Properly mark the DC as containing direty region when copying a new clip region svn path=/trunk/; revision=63802 --- diff --git a/reactos/win32ss/gdi/ntgdi/cliprgn.c b/reactos/win32ss/gdi/ntgdi/cliprgn.c index 67fa4dfa9dd..326ed3744af 100644 --- a/reactos/win32ss/gdi/ntgdi/cliprgn.c +++ b/reactos/win32ss/gdi/ntgdi/cliprgn.c @@ -60,6 +60,8 @@ IntGdiExtSelectClipRgn( if (!dc->dclevel.prgnClip) dc->dclevel.prgnClip = IntSysCreateRectpRgn(0, 0, 0, 0); + dc->fs |= DC_FLAG_DIRTY_RAO; + return IntGdiCombineRgn(dc->dclevel.prgnClip, prgn, NULL, RGN_COPY); }