WinRT: fixed bug whereby a Win8.x app's SDL_Window wasn't getting de-marked as maximized (on window restore)
1.1 --- a/src/core/winrt/SDL_winrtapp_direct3d.cpp Thu Dec 31 01:40:50 2015 -0500
1.2 +++ b/src/core/winrt/SDL_winrtapp_direct3d.cpp Thu Dec 31 01:50:30 2015 -0500
1.3 @@ -226,6 +226,8 @@
1.4 window event, if and when it is needed!
1.5 */
1.6 SDL_SendWindowEvent(window, SDL_WINDOWEVENT_MAXIMIZED, 0, 0);
1.7 + } else {
1.8 + SDL_SendWindowEvent(window, SDL_WINDOWEVENT_RESTORED, 0, 0);
1.9 }
1.10
1.11 WINRT_UpdateWindowFlags(window, SDL_WINDOW_FULLSCREEN_DESKTOP);