diff options
author | Colin Snover | 2017-10-23 22:36:04 -0500 |
---|---|---|
committer | Colin Snover | 2017-10-23 22:36:04 -0500 |
commit | 3a95213905b9ca1b8339131a66ff97df8e21ad7c (patch) | |
tree | 7c1532bfae6fbe157c44328103764a57e4f64d22 /image/pict.cpp | |
parent | f638f1453c7770ec9e5ea9d3b55b5d3098e06186 (diff) | |
download | scummvm-rg350-3a95213905b9ca1b8339131a66ff97df8e21ad7c.tar.gz scummvm-rg350-3a95213905b9ca1b8339131a66ff97df8e21ad7c.tar.bz2 scummvm-rg350-3a95213905b9ca1b8339131a66ff97df8e21ad7c.zip |
SDL: Automatically grab mouse upon entering fullscreen
Folks are confused about the new behaviour where the mouse is not
restricted to the game area in fullscreen, which is understandable.
This changes mouseIsGrabbed to use SDL directly in order to avoid
making changes to the user preference in the _inputGrabState.
Otherwise we'd either clobber the user's previous windowed mouse
grab preference, or require maintaining a second variable just to
track the original state, when we can have SDL do that for us.
Diffstat (limited to 'image/pict.cpp')
0 files changed, 0 insertions, 0 deletions