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