diff --git a/osu.Framework/Platform/SDL2Window_Windowing.cs b/osu.Framework/Platform/SDL2Window_Windowing.cs index 40156a7bcff..25be60b33b5 100644 --- a/osu.Framework/Platform/SDL2Window_Windowing.cs +++ b/osu.Framework/Platform/SDL2Window_Windowing.cs @@ -524,10 +524,13 @@ private void handleWindowEvent(SDL.SDL_WindowEvent evtWindow) case SDL.SDL_WindowEventID.SDL_WINDOWEVENT_FOCUS_LOST: case SDL.SDL_WindowEventID.SDL_WINDOWEVENT_SHOWN: case SDL.SDL_WindowEventID.SDL_WINDOWEVENT_HIDDEN: + case SDL.SDL_WindowEventID.SDL_WINDOWEVENT_SIZE_CHANGED when RuntimeInfo.IsMobile: fetchDisplays(); break; } + Logger.Log("got window event " + evtWindow.windowEvent); + #if DEBUG EventScheduler.AddOnce(() => assertDisplaysMatchSDL()); #endif