src/events/SDL_mouse.c
changeset 5376 183ec2d4485c
parent 5371 fc3d3d580777
child 5405 64fa8526e1ce
     1.1 --- a/src/events/SDL_mouse.c	Mon Feb 21 16:45:23 2011 -0800
     1.2 +++ b/src/events/SDL_mouse.c	Mon Feb 21 17:15:50 2011 -0800
     1.3 @@ -37,6 +37,10 @@
     1.4  int
     1.5  SDL_MouseInit(void)
     1.6  {
     1.7 +    SDL_Mouse *mouse = SDL_GetMouse();
     1.8 +
     1.9 +    mouse->cursor_shown = SDL_TRUE;
    1.10 +
    1.11      return (0);
    1.12  }
    1.13  
    1.14 @@ -46,12 +50,6 @@
    1.15      return &SDL_mouse;
    1.16  }
    1.17  
    1.18 -void
    1.19 -SDL_ResetMouse(void)
    1.20 -{
    1.21 -    /* FIXME */
    1.22 -}
    1.23 -
    1.24  SDL_Window *
    1.25  SDL_GetMouseFocus(void)
    1.26  {