src/events/SDL_windowevents.c
changeset 3502 98a819296cdc
parent 2875 91a7e08cd238
child 3573 41cd18e05965
     1.1 --- a/src/events/SDL_windowevents.c	Tue Dec 01 06:15:10 2009 +0000
     1.2 +++ b/src/events/SDL_windowevents.c	Tue Dec 01 08:56:12 2009 +0000
     1.3 @@ -86,6 +86,7 @@
     1.4              return 0;
     1.5          }
     1.6          window->flags |= SDL_WINDOW_MINIMIZED;
     1.7 +        SDL_OnWindowMinimized(window);
     1.8          break;
     1.9      case SDL_WINDOWEVENT_MAXIMIZED:
    1.10          if (window->flags & SDL_WINDOW_MAXIMIZED) {
    1.11 @@ -98,6 +99,7 @@
    1.12              return 0;
    1.13          }
    1.14          window->flags &= ~(SDL_WINDOW_MINIMIZED | SDL_WINDOW_MAXIMIZED);
    1.15 +        SDL_OnWindowRestored(window);
    1.16          break;
    1.17      case SDL_WINDOWEVENT_ENTER:
    1.18          if (window->flags & SDL_WINDOW_MOUSE_FOCUS) {