diff --git a/imgui.cpp b/imgui.cpp index 57ed579af..149c89bae 100644 --- a/imgui.cpp +++ b/imgui.cpp @@ -5898,7 +5898,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