# HG changeset patch # User Patrice Mandin # Date 1092171527 0 # Node ID 6c87754f324c83628682e3bda27149278b834f53 # Parent c5689bd09eaa03f81377aae823c77118639e2c61 Forgot to initialize maximum position for mouse diff -r c5689bd09eaa -r 6c87754f324c 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);