mirror of
https://github.com/reactos/reactos.git
synced 2025-08-06 13:33:04 +00:00
[Win32k]
- Apply band-aid patch from CORE-8506. Problem still persists, how did a bad region get plugged into the DCE structure? svn path=/trunk/; revision=64054
This commit is contained in:
parent
adcc14bdf9
commit
7ae67c3b7a
1 changed files with 8 additions and 4 deletions
|
@ -252,9 +252,13 @@ DceUpdateVisRgn(DCE *Dce, PWND Window, ULONG Flags)
|
||||||
noparent:
|
noparent:
|
||||||
if (Flags & DCX_INTERSECTRGN)
|
if (Flags & DCX_INTERSECTRGN)
|
||||||
{
|
{
|
||||||
|
PREGION RgnClip = NULL;
|
||||||
|
|
||||||
if (Dce->hrgnClip != NULL)
|
if (Dce->hrgnClip != NULL)
|
||||||
|
RgnClip = REGION_LockRgn(Dce->hrgnClip);
|
||||||
|
|
||||||
|
if (RgnClip)
|
||||||
{
|
{
|
||||||
PREGION RgnClip = REGION_LockRgn(Dce->hrgnClip);
|
|
||||||
IntGdiCombineRgn(RgnVisible, RgnVisible, RgnClip, RGN_AND);
|
IntGdiCombineRgn(RgnVisible, RgnVisible, RgnClip, RGN_AND);
|
||||||
REGION_UnlockRgn(RgnClip);
|
REGION_UnlockRgn(RgnClip);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue