[Scummvm-cvs-logs] CVS: scummvm/backends/x11 x11.cpp,1.6,1.7

Lionel Ulmer bbrox at users.sourceforge.net
Wed Nov 13 07:15:05 CET 2002


Update of /cvsroot/scummvm/scummvm/backends/x11
In directory usw-pr-cvs1:/tmp/cvs-serv2478/backends/x11

Modified Files:
	x11.cpp 
Log Message:
Added some needed initializations.



Index: x11.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/backends/x11/x11.cpp,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- x11.cpp	2 Nov 2002 17:44:06 -0000	1.6
+++ x11.cpp	13 Nov 2002 15:14:08 -0000	1.7
@@ -325,6 +325,13 @@
 	num_of_dirty_square = MAX_NUMBER_OF_DIRTY_SQUARES;
 	_overlay_visible = false;
 	_mouse_state_changed = true;
+	_mouse_visible = true;
+	cur_state.x = 0;
+	cur_state.y = 0;
+	cur_state.hot_x = 0;
+	cur_state.hot_y = 0;
+	cur_state.w = 0;
+	cur_state.h = 0;
 	
 	/* For the window title */
 	sprintf(buf, "ScummVM");





More information about the Scummvm-git-logs mailing list