From 7bd640d5da3838e10f6a22fab99692bc1e6f8928 Mon Sep 17 00:00:00 2001 From: David Ludwig Date: Thu, 26 Nov 2015 02:37:51 -0500 Subject: [PATCH] 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/video/winrt/SDL_winrtvideo.cpp b/src/video/winrt/SDL_winrtvideo.cpp index 4621d8180..1fbd2f4df 100644 --- a/src/video/winrt/SDL_winrtvideo.cpp +++ b/src/video/winrt/SDL_winrtvideo.cpp @@ -377,7 +377,7 @@ WINRT_DetectWindowFlags(SDL_Window * window) 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