[Scummvm-cvs-logs] CVS: scummvm/backends/sdl sdl-common.cpp,1.76,1.77

Max Horn fingolfin at users.sourceforge.net
Sun Aug 3 17:30:49 CEST 2003


Update of /cvsroot/scummvm/scummvm/backends/sdl
In directory sc8-pr-cvs1:/tmp/cvs-serv7380/backends/sdl

Modified Files:
	sdl-common.cpp 
Log Message:
fix for bug #781903 (ALL: jerky cursor movement regression)

Index: sdl-common.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/backends/sdl/sdl-common.cpp,v
retrieving revision 1.76
retrieving revision 1.77
diff -u -d -r1.76 -r1.77
--- sdl-common.cpp	2 Aug 2003 00:36:37 -0000	1.76
+++ sdl-common.cpp	3 Aug 2003 23:34:04 -0000	1.77
@@ -467,6 +467,7 @@
 		_mouseCurState.x = x;
 		_mouseCurState.y = y;
 		undraw_mouse();
+		update_screen();
 	}
 }
 
@@ -713,6 +714,7 @@
 			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)





More information about the Scummvm-git-logs mailing list