From 00861f884141e73a024d1cac57e25c0f16115bd2 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Sun, 3 Aug 2003 23:34:04 +0000 Subject: fix for bug #781903 (ALL: jerky cursor movement regression) svn-id: r9446 --- backends/sdl/sdl-common.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'backends/sdl') diff --git a/backends/sdl/sdl-common.cpp b/backends/sdl/sdl-common.cpp index 0b94433384..c71be78f3d 100644 --- a/backends/sdl/sdl-common.cpp +++ b/backends/sdl/sdl-common.cpp @@ -467,6 +467,7 @@ void OSystem_SDL_Common::set_mouse_pos(int x, int y) { _mouseCurState.x = x; _mouseCurState.y = y; undraw_mouse(); + update_screen(); } } @@ -713,6 +714,7 @@ bool OSystem_SDL_Common::poll_event(Event *event) { return true; case SDL_MOUSEBUTTONDOWN: +printf("Mousedown at %d,%d, button %d\n", ev.button.x, ev.button.y, ev.button.button); if (ev.button.button == SDL_BUTTON_LEFT) event->event_code = EVENT_LBUTTONDOWN; else if (ev.button.button == SDL_BUTTON_RIGHT) -- cgit v1.2.3