src/video/android/SDL_androidwindow.c
changeset 11865 af91d564aa40
parent 11811 5d94cb6b24d3
child 12012 6de756c9975a
     1.1 --- a/src/video/android/SDL_androidwindow.c	Sun Feb 11 17:25:51 2018 -0800
     1.2 +++ b/src/video/android/SDL_androidwindow.c	Sun Feb 11 18:23:37 2018 -0800
     1.3 @@ -53,7 +53,6 @@
     1.4      window->h = Android_ScreenHeight;
     1.5  
     1.6      window->flags &= ~SDL_WINDOW_RESIZABLE;     /* window is NEVER resizeable */
     1.7 -    window->flags |= SDL_WINDOW_FULLSCREEN;     /* window is always fullscreen */
     1.8      window->flags &= ~SDL_WINDOW_HIDDEN;
     1.9      window->flags |= SDL_WINDOW_SHOWN;          /* only one window on Android */
    1.10      window->flags |= SDL_WINDOW_INPUT_FOCUS;    /* always has input focus */
    1.11 @@ -99,6 +98,12 @@
    1.12  }
    1.13  
    1.14  void
    1.15 +Android_SetWindowFullscreen(_THIS, SDL_Window * window, SDL_VideoDisplay * display, SDL_bool fullscreen)
    1.16 +{
    1.17 +    Android_JNI_SetWindowStyle(fullscreen);
    1.18 +}
    1.19 +
    1.20 +void
    1.21  Android_DestroyWindow(_THIS, SDL_Window * window)
    1.22  {
    1.23      SDL_WindowData *data;