Skip to content

Commit

Permalink
further fix mouse visibility
Browse files Browse the repository at this point in the history
  • Loading branch information
RicardoLuis0 authored and coelckers committed Apr 11, 2024
1 parent 97effb9 commit f0b96bf
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/common/platform/win32/i_mouse.cpp
Expand Up @@ -297,6 +297,12 @@ void I_CheckNativeMouse(bool preferNative, bool eventhandlerresult)
{
BlockMouseMove = 3;
Mouse->Ungrab();

if(!mouse_shown)
{
ShowCursor(true);
mouse_shown = true;
}
}
else
{
Expand Down

0 comments on commit f0b96bf

Please sign in to comment.