We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e92be1e commit 6b0126fCopy full SHA for 6b0126f
win32ss/gdi/ntgdi/gdiobj.c
@@ -479,6 +479,12 @@ ENTRY_ReferenceEntryByHandle(HGDIOBJ hobj, FLONG fl)
479
{
480
ULONG ulIndex, cNewRefs, cOldRefs;
481
PENTRY pentry;
482
+ PTHREADINFO pti = PsGetCurrentThreadWin32Thread();
483
+
484
+ /* Allow a window that is moving or resizing to have access to all of its child
485
+ windows dc's even if the dc belongs to another process i.e. 3D Screensaver */
486
+ if (pti && pti->TIF_flags & TIF_MOVESIZETRACKING)
487
+ fl = GDIOBJFLAG_IGNOREPID;
488
489
/* Get the handle index and check if its too big */
490
ulIndex = GDI_HANDLE_GET_INDEX(hobj);
0 commit comments