src/events/SDL_windowevents.c
changeset 1970 db3ba6c0d0df
parent 1915 a228436a2404
child 2794 f7872b7a8732
equal deleted inserted replaced
1969:5d3724f64f2b 1970:db3ba6c0d0df
    70         if (data1 == window->w && data2 == window->h) {
    70         if (data1 == window->w && data2 == window->h) {
    71             return 0;
    71             return 0;
    72         }
    72         }
    73         window->w = data1;
    73         window->w = data1;
    74         window->h = data2;
    74         window->h = data2;
       
    75         SDL_OnWindowResized(window);
    75         break;
    76         break;
    76     case SDL_WINDOWEVENT_MINIMIZED:
    77     case SDL_WINDOWEVENT_MINIMIZED:
    77         if (window->flags & SDL_WINDOW_MINIMIZED) {
    78         if (window->flags & SDL_WINDOW_MINIMIZED) {
    78             return 0;
    79             return 0;
    79         }
    80         }