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

features/sdl_renderer3_multiviewports
omar ago%!(EXTRA string=7 years)
parent d9c54826bb
commit 1f78e08427
  1. 1
      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!)

Loading…
Cancel
Save