aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--graphics/cursorman.cpp2
-rw-r--r--gui/ThemeNew.cpp1
-rw-r--r--gui/newgui.cpp1
3 files changed, 4 insertions, 0 deletions
diff --git a/graphics/cursorman.cpp b/graphics/cursorman.cpp
index c1b8e38a92..51d897052d 100644
--- a/graphics/cursorman.cpp
+++ b/graphics/cursorman.cpp
@@ -48,6 +48,8 @@ bool CursorManager::showMouse(bool visible) {
return false;
_cursorStack.top()->_visible = visible;
+
+ // Should work, even if there's just a dummy cursor on the stack.
return g_system->showMouse(visible);
}
diff --git a/gui/ThemeNew.cpp b/gui/ThemeNew.cpp
index ca50e5d11a..9aeaf99dc4 100644
--- a/gui/ThemeNew.cpp
+++ b/gui/ThemeNew.cpp
@@ -1551,6 +1551,7 @@ OverlayColor ThemeNew::calcDimColor(OverlayColor col) {
void ThemeNew::setUpCursor() {
PaletteMan.pushCursorPalette(_cursorPal, 0, MAX_CURS_COLORS);
CursorMan.pushCursor(_cursor, _cursorWidth, _cursorHeight, _cursorHotspotX, _cursorHotspotY, 255, _cursorTargetScale);
+ CursorMan.showMouse(true);
}
void ThemeNew::createCursor() {
diff --git a/gui/newgui.cpp b/gui/newgui.cpp
index f0d58d8982..c02c472594 100644
--- a/gui/newgui.cpp
+++ b/gui/newgui.cpp
@@ -158,6 +158,7 @@ void NewGui::runLoop() {
PaletteMan.pushCursorPalette(palette, 0, 4);
CursorMan.pushCursor(NULL, 0, 0, 0, 0);
+ CursorMan.showMouse(true);
}
while (!_dialogStack.empty() && activeDialog == _dialogStack.top()) {