mirror of
https://github.com/reactos/reactos.git
synced 2024-07-13 16:15:05 +00:00
Fix a mouse bug for hide the cursor. It is working now with my test code for ShowCursor and NtShowCursor. The code for it is not finish.
and it also working now hide the mouse with EngMovePointer(SurfObj,-1,-1,NULL); and that did not work before. svn path=/trunk/; revision=20466
This commit is contained in:
parent
97334543e3
commit
59818c3543
|
@ -72,14 +72,14 @@ MouseSafetyOnDrawStart(SURFOBJ *SurfObj, LONG HazardX1,
|
|||
tmp = HazardY2; HazardY2 = HazardY1; HazardY1 = tmp;
|
||||
}
|
||||
|
||||
ppdev->SafetyRemoveCount++;
|
||||
|
||||
if (ppdev->SafetyRemoveLevel)
|
||||
if (ppdev->SafetyRemoveLevel != 0)
|
||||
{
|
||||
/* already hidden */
|
||||
ppdev->SafetyRemoveCount++;
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
ppdev->SafetyRemoveCount++;
|
||||
|
||||
if (pgp->Exclude.right >= HazardX1
|
||||
&& pgp->Exclude.left <= HazardX2
|
||||
&& pgp->Exclude.bottom >= HazardY1
|
||||
|
|
Loading…
Reference in a new issue