src/events/SDL_windowevents.c
changeset 4429 faa9fc8e7f67
parent 3697 f7b03b6838cb
child 5042 8c39b82dc7b0
     1.1 --- a/src/events/SDL_windowevents.c	Wed Mar 10 15:07:20 2010 +0000
     1.2 +++ b/src/events/SDL_windowevents.c	Thu Mar 25 01:08:26 2010 -0700
     1.3 @@ -144,7 +144,7 @@
     1.4  
     1.5      /* Post the event, if desired */
     1.6      posted = 0;
     1.7 -    if (SDL_ProcessEvents[SDL_WINDOWEVENT] == SDL_ENABLE) {
     1.8 +    if (SDL_GetEventState(SDL_WINDOWEVENT) == SDL_ENABLE) {
     1.9          SDL_Event event;
    1.10          event.type = SDL_WINDOWEVENT;
    1.11          event.window.event = windowevent;