aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scummvm.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/scummvm.cpp b/scummvm.cpp
index 618680d5c6..3f5aa7eab5 100644
--- a/scummvm.cpp
+++ b/scummvm.cpp
@@ -1162,10 +1162,18 @@ void Scumm::waitForTimer(int msec_delay) {
case OSystem::EVENT_LBUTTONDOWN:
_leftBtnPressed |= msClicked|msDown;
+#ifdef _WIN32_WCE
+ mouse.x = event.mouse.x;
+ mouse.y = event.mouse.y;
+#endif
break;
case OSystem::EVENT_RBUTTONDOWN:
_rightBtnPressed |= msClicked|msDown;
+#ifdef _WIN32_WCE
+ mouse.x = event.mouse.x;
+ mouse.y = event.mouse.y;
+#endif
break;
case OSystem::EVENT_LBUTTONUP: