WinRT: bug-fix, fullscreen mode wasn't getting reported in Windows 8.0 apps
authorDavid Ludwig <dludwig@pobox.com>
Thu, 26 Nov 2015 02:37:51 -0500
changeset 9927 16d2f1997733
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
--- a/src/video/winrt/SDL_winrtvideo.cpp	Thu Nov 26 02:13:15 2015 -0500
+++ b/src/video/winrt/SDL_winrtvideo.cpp	Thu Nov 26 02:37:51 2015 -0500
@@ -377,7 +377,7 @@
     if (data->appView) {
         is_fullscreen = data->appView->IsFullScreen;
     }
-#elif (WINAPI_FAMILY == WINAPI_FAMILY_PHONE_APP)
+#elif (WINAPI_FAMILY == WINAPI_FAMILY_PHONE_APP) || (NTDDI_VERSION == NTDDI_WIN8)
     is_fullscreen = true;
 #endif