From 5aebfedfadcfb071b8c7ecf164e0422d6adc949a Mon Sep 17 00:00:00 2001 From: omar Date: Wed, 2 Jan 2019 21:41:00 +0100 Subject: [PATCH] Docking: Forward WindowClass from node to host window. --- imgui.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/imgui.cpp b/imgui.cpp index af0f2fa6..fc561fc7 100644 --- a/imgui.cpp +++ b/imgui.cpp @@ -10952,6 +10952,7 @@ static void ImGui::DockNodeUpdate(ImGuiDockNode* node) } if (node->InitFromFirstWindowViewport && node->Windows.Size > 0) SetNextWindowViewport(node->Windows[0]->ViewportId); + SetNextWindowClass(&node->WindowClass); // Begin into the host window char window_label[20];