You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// We may later decide to test for different NoXXXInputs based on the active navigation input (mouse vs nav) but that may feel more confusing to the user.
6479
6485
ImGuiWindow* window = g.WindowsFocusOrder[i];
6480
-
if (window != ignore_window && window->WasActive && !(window->Flags & ImGuiWindowFlags_ChildWindow))
6486
+
IM_ASSERT(window == window->RootWindow);
6487
+
if (window != ignore_window && window->WasActive)
6481
6488
if ((window->Flags & (ImGuiWindowFlags_NoMouseInputs | ImGuiWindowFlags_NoNavInputs)) != (ImGuiWindowFlags_NoMouseInputs | ImGuiWindowFlags_NoNavInputs))
Copy file name to clipboardExpand all lines: imgui_internal.h
+4-3Lines changed: 4 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -1322,7 +1322,7 @@ struct ImGuiContext
1322
1322
1323
1323
// Windows state
1324
1324
ImVector<ImGuiWindow*> Windows; // Windows, sorted in display order, back to front
1325
-
ImVector<ImGuiWindow*> WindowsFocusOrder; //Windows, sorted in focus order, back to front. (FIXME: We could only store root windows here! Need to sort out the Docking equivalent which is RootWindowDockStop and is unfortunately a little more dynamic)
1325
+
ImVector<ImGuiWindow*> WindowsFocusOrder; //Root windows, sorted in focus order, back to front.
1326
1326
ImVector<ImGuiWindow*> WindowsTempSortBuffer; // Temporary buffer used in EndFrame() to reorder windows so parents are kept before their child
1327
1327
ImVector<ImGuiWindow*> CurrentWindowStack;
1328
1328
ImGuiStorage WindowsById; // Map window's ImGuiID to ImGuiWindow*
0 commit comments