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.
Modified: trunk/reactos/subsys/win32k/eng/mouse.c
_____
Modified: trunk/reactos/subsys/win32k/eng/mouse.c
--- trunk/reactos/subsys/win32k/eng/mouse.c 2005-12-30 19:14:58 UTC
(rev 20465)
+++ trunk/reactos/subsys/win32k/eng/mouse.c 2005-12-30 20:15:07 UTC
(rev 20466)
@@ -72,14 +72,14 @@
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
Show replies by date