mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-01 04:13:35 +00:00
[NtUser]
- De-reference global cursor. See CORE-8305. svn path=/trunk/; revision=67937
This commit is contained in:
@@ -1077,6 +1077,12 @@ NtUserSetCursor(
|
||||
if (pcurOld->CURSORF_flags & CURSORF_GLOBAL)
|
||||
{
|
||||
TRACE("Returning Global Cursor hcur %p\n",hOldCursor);
|
||||
|
||||
if (pcurOld->head.cLockObj > 2) // Throttle down to 2.
|
||||
{
|
||||
UserDereferenceObject(pcurOld);
|
||||
}
|
||||
|
||||
goto leave;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user