WinRT: native windows are inherently resizable (in WinRT 8.x)
authorDavid Ludwig
Thu, 26 Nov 2015 11:09:50 -0500
changeset 9928639be75bbc84
parent 9927 16d2f1997733
child 9929 500c15a73ede
WinRT: native windows are inherently resizable (in WinRT 8.x)
src/video/winrt/SDL_winrtvideo.cpp
     1.1 --- a/src/video/winrt/SDL_winrtvideo.cpp	Thu Nov 26 02:37:51 2015 -0500
     1.2 +++ b/src/video/winrt/SDL_winrtvideo.cpp	Thu Nov 26 11:09:50 2015 -0500
     1.3 @@ -532,14 +532,16 @@
     1.4  #if SDL_WINRT_USE_APPLICATIONVIEW
     1.5      /* Determine as many flags dynamically, as possible. */
     1.6      window->flags =
     1.7 -        SDL_WINDOW_BORDERLESS;
     1.8 +        SDL_WINDOW_BORDERLESS |
     1.9 +        SDL_WINDOW_RESIZABLE;
    1.10  #else
    1.11      /* Set SDL_Window flags for Windows Phone 8.0 */
    1.12      window->flags =
    1.13          SDL_WINDOW_FULLSCREEN_DESKTOP |
    1.14          SDL_WINDOW_BORDERLESS |
    1.15          SDL_WINDOW_MAXIMIZED |
    1.16 -        SDL_WINDOW_INPUT_GRABBED;
    1.17 +        SDL_WINDOW_INPUT_GRABBED |
    1.18 +        SDL_WINDOW_RESIZABLE;
    1.19  #endif
    1.20  
    1.21  #if SDL_VIDEO_OPENGL_EGL