From 1f78e08427f458e4ee5f215a15810b1f61050622 Mon Sep 17 00:00:00 2001 From: omar Date: Thu, 22 Nov 2018 20:13:55 +0100 Subject: [PATCH] Viewport: UpdateTryMergeWindowIntoHostViewport() calls BringWindowToDisplayFront() - possible now that BringWindowToFocusFront() is a different function. --- imgui.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/imgui.cpp b/imgui.cpp index 298bdcc6..acac2268 100644 --- a/imgui.cpp +++ b/imgui.cpp @@ -7214,6 +7214,7 @@ static void ImGui::UpdateTryMergeWindowIntoHostViewport(ImGuiWindow* window, ImG if (g.Windows[n]->Viewport == old_viewport) SetWindowViewport(g.Windows[n], viewport); SetWindowViewport(window, viewport); + BringWindowToDisplayFront(window); } // Scale all windows (position, size). Use when e.g. changing DPI. (This is a lossy operation!)