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

(cherry picked from commit c451bd4340)
This commit is contained in:
Tarek Soliman 2011-11-24 23:06:21 -06:00
parent ac98551655
commit 3b6838731b
2 changed files with 7 additions and 0 deletions

View file

@ -108,6 +108,12 @@ const Maemo::Model OSystem_SDL_Maemo::detectModel() {
return *model; 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 } //namespace Maemo
#endif #endif

View file

@ -38,6 +38,7 @@ public:
virtual void quit(); virtual void quit();
virtual void fatalError(); virtual void fatalError();
virtual void setWindowCaption(const char *caption); virtual void setWindowCaption(const char *caption);
virtual void setupIcon();
Model getModel() { return _model; } Model getModel() { return _model; }