From 936141aff8182eccbe643b0e31315a74db92b542 Mon Sep 17 00:00:00 2001 From: Timo Kreuzer Date: Wed, 12 Jan 2011 21:15:46 +0000 Subject: [PATCH] [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. svn path=/trunk/; revision=50375 --- reactos/subsystems/win32/win32k/ntuser/cursoricon.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/reactos/subsystems/win32/win32k/ntuser/cursoricon.c b/reactos/subsystems/win32/win32k/ntuser/cursoricon.c index eec0d821ca1..4032792b7ca 100644 --- a/reactos/subsystems/win32/win32k/ntuser/cursoricon.c +++ b/reactos/subsystems/win32/win32k/ntuser/cursoricon.c @@ -147,15 +147,12 @@ UserSetCursor( 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 */