[ros-diffs] [greatlrd] 20466: 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.
greatlrd at svn.reactos.org
greatlrd at svn.reactos.org
Fri Dec 30 21:15:17 CET 2005
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.reactos.org/pipermail/ros-diffs/attachments/20051230/b9b55bc4/attachment.html
More information about the Ros-diffs
mailing list