diff --git a/imgui.cpp b/imgui.cpp index 63c6789a51ac..c6bfd6db7949 100644 --- a/imgui.cpp +++ b/imgui.cpp @@ -5703,7 +5703,7 @@ void ImGui::NewFrame() // This fallback is particularly important as it prevents ImGui:: calls from crashing. g.WithinFrameScopeWithImplicitWindow = true; SetNextWindowSize(ImVec2(400, 400), ImGuiCond_FirstUseEver); - Begin("Debug##Default"); + Begin("Debug##Default", NULL, ImGuiWindowFlags_NoFocusOnAppearing); IM_ASSERT(g.CurrentWindow->IsFallbackWindow == true); // Store stack sizes