diff --git a/src/anbox/platform/sdl/window.cpp b/src/anbox/platform/sdl/window.cpp index f4c3d4b34df5aaf4275e5380f90348a344e7a788..541422c7479b8f643b83f7a79bf5fbe3255082a6 100755 --- a/src/anbox/platform/sdl/window.cpp +++ b/src/anbox/platform/sdl/window.cpp @@ -185,6 +185,10 @@ SDL_HitTestResult Window::on_window_hit(SDL_Window *window, const SDL_Point *pt, SDL_HitTestResult result = SDL_HITTEST_NORMAL; + if (!platform_window->initialized.load()) { + INFO("window initialized by resize"); + platform_window->initialized = true; + } if (platform_window->title_event_filter(pt->x, pt->y)) { if (!platform_window->initialized.load()) { INFO("window initialized by click top");