Skip to content

Commit

Permalink
Release mouse on fullscreen menu
Browse files Browse the repository at this point in the history
  • Loading branch information
Pedro-Beirao committed Nov 23, 2024
1 parent 73bc790 commit 3115e9b
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions prboom2/src/SDL/i_video.c
Original file line number Diff line number Diff line change
Expand Up @@ -1556,11 +1556,6 @@ static dboolean MouseShouldBeGrabbed()
if (!window_focused)
return false;

// always grab the mouse when full screen (dont want to
// see the mouse pointer)
if (desired_fullscreen)
return true;

// if we specify not to grab the mouse, never grab
if (!mouse_enabled)
return false;
Expand Down

0 comments on commit 3115e9b

Please # to comment.