src/events/SDL_windowevents.c
changeset 2849 523b10db69f8
parent 2794 f7872b7a8732
child 2859 99210400e8b9
equal deleted inserted replaced
2848:8a3aa505ecba 2849:523b10db69f8
    72             return 0;
    72             return 0;
    73         }
    73         }
    74         window->w = data1;
    74         window->w = data1;
    75         window->h = data2;
    75         window->h = data2;
    76         SDL_OnWindowResized(window);
    76         SDL_OnWindowResized(window);
    77         SDL_SetMouseFocusSize(windowID, window->w, window->h);
       
    78         break;
    77         break;
    79     case SDL_WINDOWEVENT_MINIMIZED:
    78     case SDL_WINDOWEVENT_MINIMIZED:
    80         if (window->flags & SDL_WINDOW_MINIMIZED) {
    79         if (window->flags & SDL_WINDOW_MINIMIZED) {
    81             return 0;
    80             return 0;
    82         }
    81         }