From 481532ab7711046ba3a4e127ea453880f2786c77 Mon Sep 17 00:00:00 2001 From: hayoreo Date: Wed, 20 Mar 2024 14:23:40 -0700 Subject: [PATCH] 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. --- src/archutils/Win32/GraphicsWindow.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/archutils/Win32/GraphicsWindow.cpp b/src/archutils/Win32/GraphicsWindow.cpp index 7b428f367c..be2f01c78b 100644 --- a/src/archutils/Win32/GraphicsWindow.cpp +++ b/src/archutils/Win32/GraphicsWindow.cpp @@ -111,7 +111,8 @@ static LRESULT CALLBACK GraphicsWindow_WndProc( HWND hWnd, UINT msg, WPARAM wPar case WM_SETCURSOR: 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; } break;