WinRT: bug-fix, fullscreen mode wasn't getting reported in Windows 8.0 apps
authorDavid Ludwig
Thu, 26 Nov 2015 02:37:51 -0500
changeset 992716d2f1997733
parent 9926 277db103ed10
child 9928 639be75bbc84
WinRT: bug-fix, fullscreen mode wasn't getting reported in Windows 8.0 apps

This bug did not occur in Windows 8.1 apps, just Windows 8.0.
src/video/winrt/SDL_winrtvideo.cpp
     1.1 --- a/src/video/winrt/SDL_winrtvideo.cpp	Thu Nov 26 02:13:15 2015 -0500
     1.2 +++ b/src/video/winrt/SDL_winrtvideo.cpp	Thu Nov 26 02:37:51 2015 -0500
     1.3 @@ -377,7 +377,7 @@
     1.4      if (data->appView) {
     1.5          is_fullscreen = data->appView->IsFullScreen;
     1.6      }
     1.7 -#elif (WINAPI_FAMILY == WINAPI_FAMILY_PHONE_APP)
     1.8 +#elif (WINAPI_FAMILY == WINAPI_FAMILY_PHONE_APP) || (NTDDI_VERSION == NTDDI_WIN8)
     1.9      is_fullscreen = true;
    1.10  #endif
    1.11