Author: fireball
Date: Sat Oct 17 20:53:14 2009
New Revision: 43535
URL:
http://svn.reactos.org/svn/reactos?rev=43535&view=rev
Log:
- Properly remove mouse pointer.
Modified:
branches/arwinss/reactos/subsystems/win32/win32k/main/cursor.c
Modified: branches/arwinss/reactos/subsystems/win32/win32k/main/cursor.c
URL:
http://svn.reactos.org/svn/reactos/branches/arwinss/reactos/subsystems/win3…
==============================================================================
--- branches/arwinss/reactos/subsystems/win32/win32k/main/cursor.c [iso-8859-1]
(original)
+++ branches/arwinss/reactos/subsystems/win32/win32k/main/cursor.c [iso-8859-1] Sat Oct 17
20:53:14 2009
@@ -114,6 +114,13 @@
ICONINFO IconInfo;
NTSTATUS Status = STATUS_SUCCESS;
+ /* Special case for removing a pointer */
+ if (!IconInfoUnsafe)
+ {
+ GreSetCursor(NULL, &CursorInfo);
+ return;
+ }
+
_SEH2_TRY
{
ProbeForRead(IconInfoUnsafe, sizeof(ICONINFO), 1);