Forgot to initialize maximum position for mouse
authorPatrice Mandin <patmandin@gmail.com>
Tue, 10 Aug 2004 20:58:47 +0000
changeset 928 6c87754f324c
parent 927 c5689bd09eaa
child 929 03fb90fc135e
Forgot to initialize maximum position for mouse
src/video/gem/SDL_gemevents.c
--- a/src/video/gem/SDL_gemevents.c	Tue Aug 10 18:59:58 2004 +0000
+++ b/src/video/gem/SDL_gemevents.c	Tue Aug 10 20:58:47 2004 +0000
@@ -302,6 +302,8 @@
 
 	/* Retrieve window coords, and generate mouse events accordingly */
 	x2 = y2 = 0;
+	w2 = VDI_w;
+	h2 = VDI_h;
 	if ((!GEM_fullscreen) && (GEM_handle>=0)) {
 		wind_get (GEM_handle, WF_WORKXYWH, &x2, &y2, &w2, &h2);