src/events/SDL_mouse.c
changeset 3195 08747e24a50f
parent 3191 91b335df6fc8
child 3253 5d7ef5970073
     1.1 --- a/src/events/SDL_mouse.c	Thu Jun 11 06:03:05 2009 +0000
     1.2 +++ b/src/events/SDL_mouse.c	Thu Jun 11 20:08:33 2009 +0000
     1.3 @@ -97,6 +97,7 @@
     1.4      /* we're setting the mouse properties */
     1.5      length = 0;
     1.6      length = SDL_strlen(name);
     1.7 +    SDL_mice[index]->focus = 0;
     1.8      SDL_mice[index]->name = SDL_malloc((length + 2) * sizeof(char));
     1.9      SDL_strlcpy(SDL_mice[index]->name, name, length + 1);
    1.10      SDL_mice[index]->pressure_max = pressure_max;