Skip to content

Commit

Permalink
Forgot to initialize maximum position for mouse
Browse files Browse the repository at this point in the history
  • Loading branch information
pmandin committed Aug 10, 2004
1 parent 7aa7865 commit 7d7bd99
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/video/gem/SDL_gemevents.c
Expand Up @@ -302,6 +302,8 @@ static void do_mouse(_THIS, short mx, short my, short mb, short ks)

/* 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);

Expand Down

0 comments on commit 7d7bd99

Please sign in to comment.