Author: tkreuzer
Date: Wed Jan 12 21:15:46 2011
New Revision: 50375
URL: http://svn.reactos.org/svn/reactos?rev=50375&view=rev
Log:
[WIN32K]
Go back to hiding the cursor with GreMovePointer, instead of setting NULL bitmaps. While MSDN states that psoColor and psoMask can both be NULL in DrvSetPointerShape, it doesn't explicitly say anything about both being NULL at the same time. VBox driver doesn't expect that and will crash, so most likely windows doesn't do this.
Modified:
trunk/reactos/subsystems/win32/win32k/ntuser/cursoricon.c
Modified: trunk/reactos/subsystems/win32/win32k/ntuser/cursoricon.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/nt…
==============================================================================
--- trunk/reactos/subsystems/win32/win32k/ntuser/cursoricon.c [iso-8859-1] (original)
+++ trunk/reactos/subsystems/win32/win32k/ntuser/cursoricon.c [iso-8859-1] Wed Jan 12 21:15:46 2011
@@ -147,15 +147,12 @@
if (OldCursor && CurInfo->ShowingCursor)
{
/* Remove the cursor */
- //GreMovePointer(hdcScreen, -1, -1);
+ GreMovePointer(hdcScreen, -1, -1);
DPRINT("Removing pointer!\n");
}
CurInfo->CurrentCursorObject = NULL;
CurInfo->ShowingCursor = 0;
-
- /* Unset the bitmaps */
- GreSetPointerShape(hdcScreen, NULL, NULL, 0, 0, 0, 0);
}
/* Return the old cursor */