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 0172338 commit ad6cb32Copy full SHA for ad6cb32
win32ss/gdi/ntgdi/gdiobj.c
@@ -479,6 +479,13 @@ ENTRY_ReferenceEntryByHandle(HGDIOBJ hobj, FLONG fl)
479
{
480
ULONG ulIndex, cNewRefs, cOldRefs;
481
PENTRY pentry;
482
+ PTHREADINFO pti = PsGetCurrentThreadWin32Thread();
483
+
484
+ /* HACK: This may be a hack but it fixes CORE-5601.
485
+ * Allow a window that is moving or resizing to have access to all of its child
486
+ * windows dc's even if the dc belongs to another process i.e. 3D Screensaver */
487
+ if (pti && pti->TIF_flags & TIF_MOVESIZETRACKING)
488
+ fl = GDIOBJFLAG_IGNOREPID;
489
490
/* Get the handle index and check if its too big */
491
ulIndex = GDI_HANDLE_GET_INDEX(hobj);
0 commit comments