src/video/emscripten/SDL_emscriptenevents.c
changeset 10330 6928ce726856
parent 10328 3e6cd603c977
child 10337 8b18f8e41813
equal deleted inserted replaced
10329:ad0bee16b6b9 10330:6928ce726856
   505 Emscripten_HandleFullscreenChange(int eventType, const EmscriptenFullscreenChangeEvent *fullscreenChangeEvent, void *userData)
   505 Emscripten_HandleFullscreenChange(int eventType, const EmscriptenFullscreenChangeEvent *fullscreenChangeEvent, void *userData)
   506 {
   506 {
   507     SDL_WindowData *window_data = userData;
   507     SDL_WindowData *window_data = userData;
   508     if(fullscreenChangeEvent->isFullscreen)
   508     if(fullscreenChangeEvent->isFullscreen)
   509     {
   509     {
   510         SDL_bool is_desktop_fullscreen;
       
   511         window_data->window->flags |= window_data->requested_fullscreen_mode;
   510         window_data->window->flags |= window_data->requested_fullscreen_mode;
   512 
   511 
   513         window_data->requested_fullscreen_mode = 0;
   512         window_data->requested_fullscreen_mode = 0;
   514 
   513 
   515         if(!window_data->requested_fullscreen_mode)
   514         if(!window_data->requested_fullscreen_mode)