Don't necessarily hide the mouse cursor when full screened.
Since the ShowMouseCursor preference exists we don't want to force hiding the mouse cursor when full screened. Instead let the user/theme decide with ShowMouseCursor.
This commit is contained in:
@@ -111,7 +111,8 @@ static LRESULT CALLBACK GraphicsWindow_WndProc( HWND hWnd, UINT msg, WPARAM wPar
|
|||||||
case WM_SETCURSOR:
|
case WM_SETCURSOR:
|
||||||
if( !g_CurrentParams.windowed )
|
if( !g_CurrentParams.windowed )
|
||||||
{
|
{
|
||||||
SetCursor(nullptr);
|
//Don't hide the cursor when full screened since we have ShowMouseCursor as an option.
|
||||||
|
//SetCursor(nullptr);
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|||||||
Reference in New Issue
Block a user