From f0b96bff00fce03fe38961947759b2a7afecdfb6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ricardo=20Lu=C3=ADs=20Vaz=20Silva?= Date: Wed, 10 Apr 2024 16:02:38 -0300 Subject: [PATCH] further fix mouse visibility --- src/common/platform/win32/i_mouse.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/common/platform/win32/i_mouse.cpp b/src/common/platform/win32/i_mouse.cpp index e7b4f27f68..72dc3f335c 100644 --- a/src/common/platform/win32/i_mouse.cpp +++ b/src/common/platform/win32/i_mouse.cpp @@ -297,6 +297,12 @@ void I_CheckNativeMouse(bool preferNative, bool eventhandlerresult) { BlockMouseMove = 3; Mouse->Ungrab(); + + if(!mouse_shown) + { + ShowCursor(true); + mouse_shown = true; + } } else {