aboutsummaryrefslogtreecommitdiff
path: root/engines/lab/mouse.cpp
diff options
context:
space:
mode:
authorEugene Sandulenko2014-12-29 00:19:56 +0100
committerEugene Sandulenko2015-12-15 00:05:02 +0100
commit80e00c1f54a0d5747156ada22b6daafbf252e833 (patch)
tree9b72da1c74c5597ca9ade35f1473f383e8652647 /engines/lab/mouse.cpp
parent9a116c57e1b7a04d2f48c685847c4e8629ffc3c6 (diff)
downloadscummvm-rg350-80e00c1f54a0d5747156ada22b6daafbf252e833.tar.gz
scummvm-rg350-80e00c1f54a0d5747156ada22b6daafbf252e833.tar.bz2
scummvm-rg350-80e00c1f54a0d5747156ada22b6daafbf252e833.zip
LAB: Fix regression
Diffstat (limited to 'engines/lab/mouse.cpp')
-rw-r--r--engines/lab/mouse.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/lab/mouse.cpp b/engines/lab/mouse.cpp
index fcb8882071..21f0f3d641 100644
--- a/engines/lab/mouse.cpp
+++ b/engines/lab/mouse.cpp
@@ -229,6 +229,8 @@ bool mouseReset(void) {
/* Shows the mouse. */
/*****************************************************************************/
void mouseShow(void) {
+ mouseShowXY(CurMouseX, CurMouseY);
+
g_system->showMouse(true);
}
@@ -248,6 +250,7 @@ void mouseShowXY(uint16 MouseX, uint16 MouseY) {
if ((NumHidden == 0) && MouseHidden) {
CurMouseX = MouseX;
CurMouseY = MouseY;
+ WSDL_ProcessInput(0);
MouseHidden = false;
}
@@ -325,6 +328,7 @@ void mouseMove(uint16 x, uint16 y) {
if (!MouseHidden) {
QuitMouseHandler = true;
mouseXY(&CurMouseX, &CurMouseY);
+ WSDL_ProcessInput(0);
QuitMouseHandler = false;
}
}