Docking: added ImGuiDockNodeFlags_DockedWindowsInFocusRoute to configure a dock node to automatically set ParentWindowForFocusRoute on its docked windows. (#6798, #2637, #456)
ImGuiDockNodeFlags_NoCloseButton=1<<15,// Saved // Disable close button
ImGuiDockNodeFlags_NoResizeX=1<<16,// //
ImGuiDockNodeFlags_NoResizeY=1<<17,// //
ImGuiDockNodeFlags_DockedWindowsInFocusRoute=1<<18,// // Any docked window will be automatically be focus-route chained (window->ParentWindowForFocusRoute set to this) so Shortcut() in this window can run when any docked window is focused.
// Disable docking/undocking actions in this dockspace or individual node (existing docked nodes will be preserved)
// Those are not exposed in public because the desirable sharing/inheriting/copy-flag-on-split behaviors are quite difficult to design and understand.
// The two public flags ImGuiDockNodeFlags_NoDockingOverCentralNode/ImGuiDockNodeFlags_NoDockingSplit don't have those issues.