aboutsummaryrefslogtreecommitdiff
path: root/backends/x11
diff options
context:
space:
mode:
authorMax Horn2003-08-02 00:36:38 +0000
committerMax Horn2003-08-02 00:36:38 +0000
commit103112dd3da9e9b8ee0610d4cc6dc4a8320f2b98 (patch)
tree7d65f9b26a214f40647f330831f7a2f627bc26fc /backends/x11
parent208a3925e90999e7bd28b53571e27e1b7a1a36cb (diff)
downloadscummvm-rg350-103112dd3da9e9b8ee0610d4cc6dc4a8320f2b98.tar.gz
scummvm-rg350-103112dd3da9e9b8ee0610d4cc6dc4a8320f2b98.tar.bz2
scummvm-rg350-103112dd3da9e9b8ee0610d4cc6dc4a8320f2b98.zip
removed OSystem::set_mouse_pos (I hope I didn't break any backends, but if I did it should be trivial to get them working again)
svn-id: r9391
Diffstat (limited to 'backends/x11')
-rw-r--r--backends/x11/x11.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/backends/x11/x11.cpp b/backends/x11/x11.cpp
index f146f02824..29d394c86d 100644
--- a/backends/x11/x11.cpp
+++ b/backends/x11/x11.cpp
@@ -1006,6 +1006,7 @@ bool OSystem_X11::poll_event(Event *scumm_event)
scumm_event->event_code = EVENT_MOUSEMOVE;
scumm_event->mouse.x = event.xmotion.x - scumm_x;
scumm_event->mouse.y = event.xmotion.y - scumm_y;
+ set_mouse_pos(scumm_event->mouse.x, scumm_event->mouse.y);
return true;
case ConfigureNotify:{