src/events/SDL_events.c
changeset 4460 363604b42e84
parent 4429 faa9fc8e7f67
child 4642 057e8762d2a1
child 4698 52697090c967
     1.1 --- a/src/events/SDL_events.c	Sun May 09 15:47:21 2010 -0700
     1.2 +++ b/src/events/SDL_events.c	Sun May 09 16:15:14 2010 -0700
     1.3 @@ -401,6 +401,9 @@
     1.4          return;
     1.5      }
     1.6  
     1.7 +    /* Make sure the events are current */
     1.8 +    SDL_PumpEvents();
     1.9 +
    1.10      /* Lock the event queue */
    1.11      if (SDL_mutexP(SDL_EventQ.lock) == 0) {
    1.12          int spot = SDL_EventQ.head;