[Scummvm-tracker] [ScummVM :: Bugs] #11893: Switching to fullscreen and back to windowed mode captures the mouse cursor

ScummVM :: Bugs trac at scummvm.org
Fri Oct 16 07:04:44 UTC 2020


#11893: Switching to fullscreen and back to windowed mode captures the mouse cursor
-------------------------+----------------------
Reporter:  eriktorbjorn  |      Owner:  (none)
    Type:  defect        |     Status:  new
Priority:  normal        |  Component:  Graphics
Keywords:                |       Game:
-------------------------+----------------------
 If I start ScummVM in windowed mode, hits Alt+Enter to switch to
 fullscreen, and then again to switch back to windowed mode, the cursor is
 captured. (This threw me off for a while, because the game where I first
 saw it had no visible mouse cursor at this point.)

 From what I understand, this is because of how
 SdlWindow::createOrUpdateWindow(9 is implemented. In fullscreen mode, it
 will automatically grab the cursor (in case the fullscreen graphics
 doesn't actually cover the entire screen, perhaps?). When returning to
 windowed mode, it sees that the cursor was grabbed and assumes it should
 still be.

 It can be released with Alt+M, of course. But is this really the intended
 behavior?
-- 
Ticket URL: <https://bugs.scummvm.org/ticket/11893>
ScummVM :: Bugs <https://bugs.scummvm.org>
ScummVM


More information about the Scummvm-tracker mailing list