Windows with the SDL_WINDOW_RESIZABLE flag get resized whenever operationMode changes (roughly when the console is docked or undocked), but since that change is external (= the user did not call SDL_SetWindowSize), a corresponding SDL_WINDOWEVENT_RESIZED event should be sent when that happens.
window size has changed, either as a result of an API call or through the system or user changing the window size; this event is followed by SDL_WINDOWEVENT_RESIZED if the size was changed by an external event, i.e. the user or the window manager
Windows with the
SDL_WINDOW_RESIZABLE
flag get resized wheneveroperationMode
changes (roughly when the console is docked or undocked), but since that change is external (= the user did not call SDL_SetWindowSize), a correspondingSDL_WINDOWEVENT_RESIZED
event should be sent when that happens.Relevant part in the SDL2 docs from https://wiki.libsdl.org/SDL2/SDL_WindowEventID