src/events/SDL_mouse.c
branchgsoc2008_manymouse
changeset 3778 a9370b995ded
parent 3777 54d08ecec1cb
equal deleted inserted replaced
3777:54d08ecec1cb 3778:a9370b995ded
   347         SDL_Event event;
   347         SDL_Event event;
   348         event.proximity.which=(Uint8)index;
   348         event.proximity.which=(Uint8)index;
   349         event.proximity.x=x;
   349         event.proximity.x=x;
   350         event.proximity.y=y;
   350         event.proximity.y=y;
   351         event.proximity.cursor=mouse->current_end;
   351         event.proximity.cursor=mouse->current_end;
   352         event.type=type;
       
   353         event.proximity.type=type;
   352         event.proximity.type=type;
   354         posted = (SDL_PushEvent(&event) > 0);
   353         posted = (SDL_PushEvent(&event) > 0);
   355         if(type==SDL_PROXIMITYIN)
   354         if(type==SDL_PROXIMITYIN)
   356         {
   355         {
   357             mouse->proximity=SDL_TRUE;
   356             mouse->proximity=SDL_TRUE;