From 7bf0cd13a6fd3803a2f21681ffea2fdaef1664bb Mon Sep 17 00:00:00 2001 From: Randy Heit Date: Wed, 1 Sep 2010 04:24:56 +0000 Subject: [PATCH] - Fixed: The mouse pointer stayed hidden on startup because the CursorState variable was not set until the mouse was grabbed. SVN r2662 (trunk) --- src/win32/i_mouse.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/win32/i_mouse.cpp b/src/win32/i_mouse.cpp index af595dea52..d347a4d72a 100644 --- a/src/win32/i_mouse.cpp +++ b/src/win32/i_mouse.cpp @@ -485,6 +485,7 @@ static FMouse *CreateRawMouse() FRawMouse::FRawMouse() { Grabbed = false; + SetCursorState(true); } //========================================================================== @@ -678,6 +679,7 @@ FDInputMouse::FDInputMouse() { Device = NULL; Grabbed = false; + SetCursorState(true); } //========================================================================== @@ -903,6 +905,7 @@ FWin32Mouse::FWin32Mouse() { GetCursorPos(&UngrabbedPointerPos); Grabbed = false; + SetCursorState(true); } //==========================================================================