mirror of
https://github.com/reactos/reactos.git
synced 2026-05-31 08:17:09 +08:00
[NTGDI] Fix 3D-text screensaver not moving in preview mode (#8402)
Thanks, @I_Kill_Bugs for the fix. CORE-5601
This commit is contained in:
@@ -479,6 +479,13 @@ ENTRY_ReferenceEntryByHandle(HGDIOBJ hobj, FLONG fl)
|
||||
{
|
||||
ULONG ulIndex, cNewRefs, cOldRefs;
|
||||
PENTRY pentry;
|
||||
PTHREADINFO pti = PsGetCurrentThreadWin32Thread();
|
||||
|
||||
/* HACK: This may be a hack but it fixes CORE-5601.
|
||||
* Allow a window that is moving or resizing to have access to all of its child
|
||||
* windows dc's even if the dc belongs to another process i.e. 3D Screensaver */
|
||||
if (pti && pti->TIF_flags & TIF_MOVESIZETRACKING)
|
||||
fl = GDIOBJFLAG_IGNOREPID;
|
||||
|
||||
/* Get the handle index and check if its too big */
|
||||
ulIndex = GDI_HANDLE_GET_INDEX(hobj);
|
||||
|
||||
Reference in New Issue
Block a user