aboutsummaryrefslogtreecommitdiff
path: root/backends/graphics/linuxmotosdl
diff options
context:
space:
mode:
authorJohannes Schickel2015-01-24 23:42:12 +0100
committerJohannes Schickel2015-01-25 18:57:38 +0100
commit3a2db0135d93b5f12fd42f04db3b6ad9d40834d3 (patch)
tree5b021b6b70148fb60bcaa08be7f68b427b730d09 /backends/graphics/linuxmotosdl
parent4e1ffc9434f771d3f43e66104adeea9e0166123c (diff)
downloadscummvm-rg350-3a2db0135d93b5f12fd42f04db3b6ad9d40834d3.tar.gz
scummvm-rg350-3a2db0135d93b5f12fd42f04db3b6ad9d40834d3.tar.bz2
scummvm-rg350-3a2db0135d93b5f12fd42f04db3b6ad9d40834d3.zip
SDL: Refactor WM specific functionality into SdlGraphicsManager.
Diffstat (limited to 'backends/graphics/linuxmotosdl')
-rw-r--r--backends/graphics/linuxmotosdl/linuxmotosdl-graphics.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/graphics/linuxmotosdl/linuxmotosdl-graphics.cpp b/backends/graphics/linuxmotosdl/linuxmotosdl-graphics.cpp
index 22b271ae1a..f8ab9930d7 100644
--- a/backends/graphics/linuxmotosdl/linuxmotosdl-graphics.cpp
+++ b/backends/graphics/linuxmotosdl/linuxmotosdl-graphics.cpp
@@ -134,7 +134,7 @@ void LinuxmotoSdlGraphicsManager::initSize(uint w, uint h) {
if (w > 320 || h > 240) {
setGraphicsMode(GFX_HALF);
setGraphicsModeIntern();
- _eventSource->toggleMouseGrab();
+ toggleMouseGrab();
}
_transactionDetails.sizeChanged = true;