src/events/SDL_mouse.c
changeset 3191 91b335df6fc8
parent 3188 102b7880543a
child 3195 08747e24a50f
equal deleted inserted replaced
3190:c68d2ca5970f 3191:91b335df6fc8
   367         event.proximity.which = (Uint8) index;
   367         event.proximity.which = (Uint8) index;
   368         event.proximity.x = x;
   368         event.proximity.x = x;
   369         event.proximity.y = y;
   369         event.proximity.y = y;
   370         event.proximity.cursor = mouse->current_end;
   370         event.proximity.cursor = mouse->current_end;
   371         event.proximity.type = type;
   371         event.proximity.type = type;
       
   372         /* FIXME: is this right? */
       
   373         event.proximity.windowID = mouse->focus;
   372         posted = (SDL_PushEvent(&event) > 0);
   374         posted = (SDL_PushEvent(&event) > 0);
   373         if (type == SDL_PROXIMITYIN) {
   375         if (type == SDL_PROXIMITYIN) {
   374             mouse->proximity = SDL_TRUE;
   376             mouse->proximity = SDL_TRUE;
   375         } else {
   377         } else {
   376             mouse->proximity = SDL_FALSE;
   378             mouse->proximity = SDL_FALSE;