diff options
author | Nicolas Bacca | 2002-04-21 21:56:41 +0000 |
---|---|---|
committer | Nicolas Bacca | 2002-04-21 21:56:41 +0000 |
commit | 635cb77d5acf8cc3a519ad07c5c02c57b804299e (patch) | |
tree | 8c4cdef1da60e3e9f4b8d3120762f3ba58076472 | |
parent | f7b94a98f7d3ac727144861fe22c7547f959d9fc (diff) | |
download | scummvm-rg350-635cb77d5acf8cc3a519ad07c5c02c57b804299e.tar.gz scummvm-rg350-635cb77d5acf8cc3a519ad07c5c02c57b804299e.tar.bz2 scummvm-rg350-635cb77d5acf8cc3a519ad07c5c02c57b804299e.zip |
Handle simultaneous mouse move + mouse click event for WinCE
svn-id: r4044
-rw-r--r-- | scummvm.cpp | 8 |
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: |