src/events/SDL_mouse.c
changeset 3188 102b7880543a
parent 3186 51750b7a966f
child 3191 91b335df6fc8
equal deleted inserted replaced
3187:e041d2c603fe 3188:102b7880543a
   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         event.proximity.windowID = mouse->focus;
       
   373         posted = (SDL_PushEvent(&event) > 0);
   372         posted = (SDL_PushEvent(&event) > 0);
   374         if (type == SDL_PROXIMITYIN) {
   373         if (type == SDL_PROXIMITYIN) {
   375             mouse->proximity = SDL_TRUE;
   374             mouse->proximity = SDL_TRUE;
   376         } else {
   375         } else {
   377             mouse->proximity = SDL_FALSE;
   376             mouse->proximity = SDL_FALSE;