[Scummvm-cvs-logs] CVS: scummvm/backends/sdl sdl.cpp,1.56.2.1,1.56.2.2

Max Horn fingolfin at users.sourceforge.net
Sat Feb 28 05:20:00 CET 2004


Update of /cvsroot/scummvm/scummvm/backends/sdl
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1199/backends/sdl

Modified Files:
      Tag: branch-0-6-0
	sdl.cpp 
Log Message:
fix mouse redraw issue when toggling fullscreen mode (visible if one mode is 555 and the other 565)

Index: sdl.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/backends/sdl/sdl.cpp,v
retrieving revision 1.56.2.1
retrieving revision 1.56.2.2
diff -u -d -r1.56.2.1 -r1.56.2.2
--- sdl.cpp	23 Feb 2004 11:34:38 -0000	1.56.2.1
+++ sdl.cpp	28 Feb 2004 13:01:43 -0000	1.56.2.2
@@ -370,6 +370,10 @@
 	if (param == PROP_TOGGLE_FULLSCREEN) {
 		assert(_hwscreen != 0);
 		_full_screen ^= true;
+
+		if (_mouseDrawn)
+			undraw_mouse();
+
 #ifdef MACOSX
 		// On OS X, SDL_WM_ToggleFullScreen is currently not implemented. Worse,
 		// it still always returns -1. So we simply don't call it at all and





More information about the Scummvm-git-logs mailing list