changeset 928:6c87754f324c

Forgot to initialize maximum position for mouse
author Patrice Mandin <patmandin@gmail.com>
date Tue, 10 Aug 2004 20:58:47 +0000
parents c5689bd09eaa
children 03fb90fc135e
files src/video/gem/SDL_gemevents.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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);