aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/maemo
diff options
context:
space:
mode:
authorTarek Soliman2011-11-24 23:06:21 -0600
committerTarek Soliman2011-11-24 23:06:21 -0600
commitc451bd4340cc8d76e1ba6bb55d3d75b67c38e4cf (patch)
tree216c5cb62e8314248b3dbb51ad48cf993abe502a /backends/platform/maemo
parent8b9b7773978a7b21ac6acda8cf053b87ecc00705 (diff)
downloadscummvm-rg350-c451bd4340cc8d76e1ba6bb55d3d75b67c38e4cf.tar.gz
scummvm-rg350-c451bd4340cc8d76e1ba6bb55d3d75b67c38e4cf.tar.bz2
scummvm-rg350-c451bd4340cc8d76e1ba6bb55d3d75b67c38e4cf.zip
MAEMO: Make setupIcon do nothing
It seems N900 is hit by SDL_WM_SetIcon bug (window cannot receive input) http://bugzilla.libsdl.org/show_bug.cgi?id=586 This fix is based on the old 1.2.1 Maemo port code
Diffstat (limited to 'backends/platform/maemo')
-rw-r--r--backends/platform/maemo/maemo.cpp6
-rw-r--r--backends/platform/maemo/maemo.h1
2 files changed, 7 insertions, 0 deletions
diff --git a/backends/platform/maemo/maemo.cpp b/backends/platform/maemo/maemo.cpp
index 3571039e62..a1885036e7 100644
--- a/backends/platform/maemo/maemo.cpp
+++ b/backends/platform/maemo/maemo.cpp
@@ -108,6 +108,12 @@ const Maemo::Model OSystem_SDL_Maemo::detectModel() {
return *model;
}
+void OSystem_SDL_Maemo::setupIcon() {
+ // no Maemo version needs setupIcon
+ // also N900 is hit by SDL_WM_SetIcon bug (window cannot receive input)
+ // http://bugzilla.libsdl.org/show_bug.cgi?id=586
+}
+
} //namespace Maemo
#endif
diff --git a/backends/platform/maemo/maemo.h b/backends/platform/maemo/maemo.h
index e42936ddf0..32b52470bc 100644
--- a/backends/platform/maemo/maemo.h
+++ b/backends/platform/maemo/maemo.h
@@ -38,6 +38,7 @@ public:
virtual void quit();
virtual void fatalError();
virtual void setWindowCaption(const char *caption);
+ virtual void setupIcon();
Model getModel() { return _model; }