From c451bd4340cc8d76e1ba6bb55d3d75b67c38e4cf Mon Sep 17 00:00:00 2001 From: Tarek Soliman Date: Thu, 24 Nov 2011 23:06:21 -0600 Subject: 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 --- backends/platform/maemo/maemo.cpp | 6 ++++++ backends/platform/maemo/maemo.h | 1 + 2 files changed, 7 insertions(+) (limited to 'backends/platform/maemo') 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; } -- cgit v1.2.3