mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 19:55:41 +00:00
[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
This commit is contained in:
parent
4d273ac5b0
commit
936141aff8
1 changed files with 1 additions and 4 deletions
|
@ -147,15 +147,12 @@ UserSetCursor(
|
||||||
if (OldCursor && CurInfo->ShowingCursor)
|
if (OldCursor && CurInfo->ShowingCursor)
|
||||||
{
|
{
|
||||||
/* Remove the cursor */
|
/* Remove the cursor */
|
||||||
//GreMovePointer(hdcScreen, -1, -1);
|
GreMovePointer(hdcScreen, -1, -1);
|
||||||
DPRINT("Removing pointer!\n");
|
DPRINT("Removing pointer!\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
CurInfo->CurrentCursorObject = NULL;
|
CurInfo->CurrentCursorObject = NULL;
|
||||||
CurInfo->ShowingCursor = 0;
|
CurInfo->ShowingCursor = 0;
|
||||||
|
|
||||||
/* Unset the bitmaps */
|
|
||||||
GreSetPointerShape(hdcScreen, NULL, NULL, 0, 0, 0, 0);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Return the old cursor */
|
/* Return the old cursor */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue