From 762d096cc0f9ec24fab4776591f7425ed199cfac Mon Sep 17 00:00:00 2001 From: Aapo Rantalainen Date: Mon, 25 Mar 2013 20:45:39 +0200 Subject: [PATCH] Maemo5: SDL_ShowCursor(SDL_DISABLE); Cursor flickered. And there are no use of cursor with touch screen. --- base/PCMain.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/base/PCMain.cpp b/base/PCMain.cpp index 1ac87e593d..4b1f1a8d73 100644 --- a/base/PCMain.cpp +++ b/base/PCMain.cpp @@ -398,6 +398,10 @@ int main(int argc, char *argv[]) { #endif SDL_WM_SetCaption(app_name_nice.c_str(), NULL); +#ifdef MAEMO + SDL_ShowCursor(SDL_DISABLE); +#endif + #ifndef USING_GLES2 if (GLEW_OK != glewInit()) {