Viewports: Fixed setting focus from platform decoration from accidentally closing modals (#6299, #6357)

+ Fixed double-assignment static analyzer warning.

# Conflicts:
#	imgui.cpp
This commit is contained in:
ocornut
2023-04-21 17:34:57 +02:00
parent bba39762dc
commit d2291df551
3 changed files with 8 additions and 5 deletions

View File

@@ -128,7 +128,9 @@ Other changes:
Docking+Viewports Branch:
- Viewports: added void* ImGuiPlatformMonitor::PlatformHandle field (backend-dependant),
- Viewports: Fixed platform-side focus (e.g. Alt+Tab) from leading to accidental
closure of Modal windows. Regression from 1.89.5. (#6357, #6299)
- Viewports: Added void* ImGuiPlatformMonitor::PlatformHandle field (backend-dependant),
for usage by user code.
- Backends: SDL2: Update monitor list when receiving a display event. (#6348)
Note however that SDL2 currently doesn't have an event for a DPI/Scaling change,