src/events/SDL_mouse.c
changeset 3191 91b335df6fc8
parent 3188 102b7880543a
child 3195 08747e24a50f
     1.1 --- a/src/events/SDL_mouse.c	Wed Jun 10 13:54:13 2009 +0000
     1.2 +++ b/src/events/SDL_mouse.c	Wed Jun 10 14:00:21 2009 +0000
     1.3 @@ -369,6 +369,8 @@
     1.4          event.proximity.y = y;
     1.5          event.proximity.cursor = mouse->current_end;
     1.6          event.proximity.type = type;
     1.7 +        /* FIXME: is this right? */
     1.8 +        event.proximity.windowID = mouse->focus;
     1.9          posted = (SDL_PushEvent(&event) > 0);
    1.10          if (type == SDL_PROXIMITYIN) {
    1.11              mouse->proximity = SDL_TRUE;