|
|
|
@ -12154,7 +12154,8 @@ void ImGui::DockContextProcessDock(ImGuiContext* ctx, ImGuiDockRequest* req) |
|
|
|
|
|
|
|
|
|
void ImGui::DockContextProcessUndockWindow(ImGuiContext* ctx, ImGuiWindow* window, bool clear_persistent_docking_ref) |
|
|
|
|
{ |
|
|
|
|
(void)ctx; |
|
|
|
|
IMGUI_DEBUG_LOG_DOCKING("DockContextProcessUndockWindow window '%s', clear_persistent_docking_ref = %d\n", window->Name, clear_persistent_docking_ref); |
|
|
|
|
IM_UNUSED(ctx); |
|
|
|
|
if (window->DockNode) |
|
|
|
|
DockNodeRemoveWindow(window->DockNode, window, clear_persistent_docking_ref ? 0 : window->DockId); |
|
|
|
|
else |
|
|
|
@ -12167,6 +12168,7 @@ void ImGui::DockContextProcessUndockWindow(ImGuiContext* ctx, ImGuiWindow* windo |
|
|
|
|
|
|
|
|
|
void ImGui::DockContextProcessUndockNode(ImGuiContext* ctx, ImGuiDockNode* node) |
|
|
|
|
{ |
|
|
|
|
IMGUI_DEBUG_LOG_DOCKING("DockContextProcessUndockNode node %08X\n", node->ID); |
|
|
|
|
IM_ASSERT(node->IsLeafNode()); |
|
|
|
|
IM_ASSERT(node->Windows.Size >= 1); |
|
|
|
|
|
|
|
|
|