SDL: emscripten: Don't flag window fullscreen on external requests

From 454943cf3e9cfacb992c8528db05fbcd8ffd512d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C4=81nis=20R=C5=ABcis?= <[EMAIL REDACTED]>
Date: Sun, 11 Apr 2021 16:44:48 +0300
Subject: [PATCH] emscripten: Don't flag window fullscreen on external requests

Also, the condition was always true.
---
 src/video/emscripten/SDL_emscriptenevents.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/src/video/emscripten/SDL_emscriptenevents.c b/src/video/emscripten/SDL_emscriptenevents.c
index d768397fd6..0c1b94c710 100644
--- a/src/video/emscripten/SDL_emscriptenevents.c
+++ b/src/video/emscripten/SDL_emscriptenevents.c
@@ -607,9 +607,6 @@ Emscripten_HandleFullscreenChange(int eventType, const EmscriptenFullscreenChang
         window_data->window->flags |= window_data->requested_fullscreen_mode;
 
         window_data->requested_fullscreen_mode = 0;
-
-        if(!window_data->requested_fullscreen_mode)
-            window_data->window->flags |= SDL_WINDOW_FULLSCREEN; /*we didn't request fullscreen*/
     }
     else
     {