Skip to content

Commit 9445de0

Browse files
committed
Include comment indicating that this may be a HACK.
1 parent 6b0126f commit 9445de0

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

win32ss/gdi/ntgdi/gdiobj.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -481,8 +481,9 @@ ENTRY_ReferenceEntryByHandle(HGDIOBJ hobj, FLONG fl)
481481
PENTRY pentry;
482482
PTHREADINFO pti = PsGetCurrentThreadWin32Thread();
483483

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 */
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 */
486487
if (pti && pti->TIF_flags & TIF_MOVESIZETRACKING)
487488
fl = GDIOBJFLAG_IGNOREPID;
488489

0 commit comments

Comments
 (0)