Fixed restoring a window that was maximized then minimized, then restored.
authorSam Lantinga
Tue, 16 May 2017 17:48:57 -0700
changeset 11007e75416b7aba1
parent 11006 40ff26e5a853
child 11008 c923c6eac264
Fixed restoring a window that was maximized then minimized, then restored.
src/video/windows/SDL_windowsevents.c
     1.1 --- a/src/video/windows/SDL_windowsevents.c	Tue May 16 06:30:39 2017 -0700
     1.2 +++ b/src/video/windows/SDL_windowsevents.c	Tue May 16 17:48:57 2017 -0700
     1.3 @@ -808,6 +808,8 @@
     1.4              switch (wParam) {
     1.5              case SIZE_MAXIMIZED:
     1.6                  SDL_SendWindowEvent(data->window,
     1.7 +                    SDL_WINDOWEVENT_RESTORED, 0, 0);
     1.8 +                SDL_SendWindowEvent(data->window,
     1.9                      SDL_WINDOWEVENT_MAXIMIZED, 0, 0);
    1.10                  break;
    1.11              case SIZE_MINIMIZED: