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:
Magnus Olsen 2005-12-30 20:15:07 +00:00
parent 97334543e3
commit 59818c3543

View file

@ -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