WinRT: native windows are inherently resizable (in WinRT 8.x)
authorDavid Ludwig <dludwig@pobox.com>
Thu, 26 Nov 2015 11:09:50 -0500
changeset 9928 639be75bbc84
parent 9927 16d2f1997733
child 9929 500c15a73ede
WinRT: native windows are inherently resizable (in WinRT 8.x)
src/video/winrt/SDL_winrtvideo.cpp
--- a/src/video/winrt/SDL_winrtvideo.cpp	Thu Nov 26 02:37:51 2015 -0500
+++ b/src/video/winrt/SDL_winrtvideo.cpp	Thu Nov 26 11:09:50 2015 -0500
@@ -532,14 +532,16 @@
 #if SDL_WINRT_USE_APPLICATIONVIEW
     /* Determine as many flags dynamically, as possible. */
     window->flags =
-        SDL_WINDOW_BORDERLESS;
+        SDL_WINDOW_BORDERLESS |
+        SDL_WINDOW_RESIZABLE;
 #else
     /* Set SDL_Window flags for Windows Phone 8.0 */
     window->flags =
         SDL_WINDOW_FULLSCREEN_DESKTOP |
         SDL_WINDOW_BORDERLESS |
         SDL_WINDOW_MAXIMIZED |
-        SDL_WINDOW_INPUT_GRABBED;
+        SDL_WINDOW_INPUT_GRABBED |
+        SDL_WINDOW_RESIZABLE;
 #endif
 
 #if SDL_VIDEO_OPENGL_EGL