src/events/SDL_windowevents.c
changeset 5276 8e421890cdb8
parent 5262 b530ef003506
child 5383 40c76519000e
     1.1 --- a/src/events/SDL_windowevents.c	Sat Feb 12 17:51:47 2011 -0800
     1.2 +++ b/src/events/SDL_windowevents.c	Sat Feb 12 19:02:14 2011 -0800
     1.3 @@ -35,7 +35,8 @@
     1.4      SDL_Event *new_event = (SDL_Event *)userdata;
     1.5  
     1.6      if (event->type == SDL_WINDOWEVENT &&
     1.7 -        event->window.event == SDL_WINDOWEVENT_RESIZED &&
     1.8 +        (event->window.event == SDL_WINDOWEVENT_RESIZED ||
     1.9 +         event->window.event == SDL_WINDOWEVENT_SIZE_CHANGED) &&
    1.10          event->window.windowID == new_event->window.windowID) {
    1.11          /* We're about to post a new size event, drop the old one */
    1.12          return 0;