summaryrefslogtreecommitdiff
path: root/src/video/sdl_v.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/video/sdl_v.cpp')
-rw-r--r--src/video/sdl_v.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/video/sdl_v.cpp b/src/video/sdl_v.cpp
index 8768004b6..ebb0ca757 100644
--- a/src/video/sdl_v.cpp
+++ b/src/video/sdl_v.cpp
@@ -259,13 +259,18 @@ static bool CreateMainSurface(uint w, uint h)
snprintf(caption, sizeof(caption), "OpenTTD %s", _openttd_revision);
SDL_CALL SDL_WM_SetCaption(caption, caption);
- SDL_CALL SDL_ShowCursor(0);
GameSizeChanged();
return true;
}
+bool VideoDriver_SDL::ClaimMousePointer()
+{
+ SDL_CALL SDL_ShowCursor(0);
+ return true;
+}
+
struct VkMapping {
uint16 vk_from;
byte vk_count;