Viewport: UpdateTryMergeWindowIntoHostViewport() calls BringWindowToDisplayFront() - possible now that BringWindowToFocusFront() is a different function.

This commit is contained in:
omar 2018-11-22 20:13:55 +01:00
parent d9c54826bb
commit 1f78e08427

View File

@ -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!)