1
0
Fork 0
mirror of https://github.com/ocornut/imgui.git synced 2026-02-05 04:10:07 +00:00

Viewports: Fixes erroneous popup closure on closing a previous popup. (#6462, #6299)

Avoid applying imgui-side focus when focus change is due to a viewport destruction.
This commit is contained in:
ocornut 2023-05-30 17:09:27 +02:00
parent f0f3b927e0
commit 3418d50949
2 changed files with 12 additions and 3 deletions

View file

@ -163,6 +163,8 @@ Docking+Viewports Branch:
closure of Modal windows. Regression from 1.89.5. (#6357, #6299)
- Viewports: Fixed loss of imgui-side focus when dragging a secondary viewport back in
main viewport, due to platform-side handling changes. Regression from 1.89.5 (#6299)
- Viewports: Avoid applying imgui-side focus when focus change is due to a viewport
destruction. Fixes erroneous popup closure on closing a previous popup. (#6462, #6299)
- Viewports: Added void* ImGuiPlatformMonitor::PlatformHandle field (backend-dependant),
for usage by user code.
- Backends: GLFW: Preserve monitor list when there are no monitor, may briefly