|
|
|
@ -7993,7 +7993,9 @@ static void NavUpdateWindowingHighlightWindow(int focus_change_dir)
|
|
|
|
|
g.NavWindowingToggleLayer = false;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Window management mode (hold to: change focus/move/resize, tap to: toggle menu layer)
|
|
|
|
|
// Windowing management mode
|
|
|
|
|
// Keyboard: CTRL+Tab (change focus/move/resize), Alt (toggle menu layer)
|
|
|
|
|
// Gamepad: Hold Menu/Square (change focus/move/resize), Tap Menu/Square (toggle menu layer)
|
|
|
|
|
static void ImGui::NavUpdateWindowing()
|
|
|
|
|
{
|
|
|
|
|
ImGuiContext& g = *GImGui;
|
|
|
|
@ -8096,6 +8098,7 @@ static void ImGui::NavUpdateWindowing()
|
|
|
|
|
g.NavDisableMouseHover = true;
|
|
|
|
|
apply_focus_window = NavRestoreLastChildNavWindow(apply_focus_window);
|
|
|
|
|
ClosePopupsOverWindow(apply_focus_window);
|
|
|
|
|
ClearActiveID();
|
|
|
|
|
FocusWindow(apply_focus_window);
|
|
|
|
|
if (apply_focus_window->NavLastIds[0] == 0)
|
|
|
|
|
NavInitWindow(apply_focus_window, false);
|
|
|
|
|