mirror of
https://github.com/Drezil/imgui.git
synced 2024-11-15 09:27:00 +00:00
Viewport: UpdateTryMergeWindowIntoHostViewport() calls BringWindowToDisplayFront() - possible now that BringWindowToFocusFront() is a different function.
This commit is contained in:
parent
d9c54826bb
commit
1f78e08427
@ -7214,6 +7214,7 @@ static void ImGui::UpdateTryMergeWindowIntoHostViewport(ImGuiWindow* window, ImG
|
|||||||
if (g.Windows[n]->Viewport == old_viewport)
|
if (g.Windows[n]->Viewport == old_viewport)
|
||||||
SetWindowViewport(g.Windows[n], viewport);
|
SetWindowViewport(g.Windows[n], viewport);
|
||||||
SetWindowViewport(window, viewport);
|
SetWindowViewport(window, viewport);
|
||||||
|
BringWindowToDisplayFront(window);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Scale all windows (position, size). Use when e.g. changing DPI. (This is a lossy operation!)
|
// Scale all windows (position, size). Use when e.g. changing DPI. (This is a lossy operation!)
|
||||||
|
Loading…
Reference in New Issue
Block a user