window->RootNonPopupWindow=!(flags&(ImGuiWindowFlags_ChildWindow|ImGuiWindowFlags_Popup))||(flags&ImGuiWindowFlags_Modal)||(parent_window==NULL)?window:parent_window->RootNonPopupWindow;// Used to display TitleBgActive color and for selecting which window to use for NavWindowing
ImGuiWindow*ParentWindow;// If we are a child window, this is pointing to our parent.
ImGuiWindow*ParentWindow;// If we are a child _or_ popup window, this is pointing to our parent. Otherwise NULL.
ImGuiWindow*RootWindow;// Generally point to ourself. If we are a child window, this is pointing to the first non-child parent window.
ImGuiWindow*RootNonPopupWindow;// Generally point to ourself. Used to display TitleBgActive color and for selecting which window to use for NavWindowing
ImGuiWindow*RootNavWindow;// Generally point to ourself. If we are a child window with the ImGuiWindowFlags_NavFlattenedChild flag, point to parent. Used to display TitleBgActive color and for selecting which window to use for NavWindowing.