diff options
author | Cameron Cawley | 2019-07-02 19:30:38 +0100 |
---|---|---|
committer | Tarek Soliman | 2019-07-08 11:11:45 -0500 |
commit | 6e690c5a8b73c33b64d38c04eac7732ed193de9a (patch) | |
tree | b9ef6089474f78b9b70b53fe80994b22d5ae6e1e /backends/graphics | |
parent | 0334411d639fca4ab76b5c3c60efc9b66115b555 (diff) | |
download | scummvm-rg350-6e690c5a8b73c33b64d38c04eac7732ed193de9a.tar.gz scummvm-rg350-6e690c5a8b73c33b64d38c04eac7732ed193de9a.tar.bz2 scummvm-rg350-6e690c5a8b73c33b64d38c04eac7732ed193de9a.zip |
MAEMO: Minor cleanup
Diffstat (limited to 'backends/graphics')
-rw-r--r-- | backends/graphics/maemosdl/maemosdl-graphics.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/backends/graphics/maemosdl/maemosdl-graphics.cpp b/backends/graphics/maemosdl/maemosdl-graphics.cpp index d954333537..588e7259d6 100644 --- a/backends/graphics/maemosdl/maemosdl-graphics.cpp +++ b/backends/graphics/maemosdl/maemosdl-graphics.cpp @@ -24,7 +24,6 @@ #include "common/scummsys.h" #include "backends/platform/maemo/maemo.h" -#include "backends/events/maemosdl/maemosdl-events.h" #include "backends/graphics/maemosdl/maemosdl-graphics.h" MaemoSdlGraphicsManager::MaemoSdlGraphicsManager(SdlEventSource *sdlEventSource, SdlWindow *window) @@ -36,8 +35,7 @@ bool MaemoSdlGraphicsManager::loadGFXMode() { // fix the problematic zoom key capture in Maemo5/N900 SDL_SysWMinfo info; - SDL_VERSION(&info.version); - if (SDL_GetWMInfo(&info)) { + if (_window->getSDLWMInformation(&info)) { Display *dpy = info.info.x11.display; Window win; unsigned long val = 1; |