mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 18:45:46 +00:00
[NtUser]
- De-reference global cursor. See CORE-8305. svn path=/trunk/; revision=67937
This commit is contained in:
parent
f4494b1b46
commit
b61240a9fd
1 changed files with 6 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue