diff options
Diffstat (limited to 'backends/sdl')
-rw-r--r-- | backends/sdl/sdl-common.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/backends/sdl/sdl-common.cpp b/backends/sdl/sdl-common.cpp index 84d80f3ca8..0b94433384 100644 --- a/backends/sdl/sdl-common.cpp +++ b/backends/sdl/sdl-common.cpp @@ -708,6 +708,8 @@ bool OSystem_SDL_Common::poll_event(Event *event) { if (_adjustAspectRatio) event->mouse.y = aspect2Real(event->mouse.y); + + set_mouse_pos(event->mouse.x, event->mouse.y); return true; case SDL_MOUSEBUTTONDOWN: |