From f087359621d27b808e363670d52cd7ad14be5675 Mon Sep 17 00:00:00 2001 From: omar Date: Sun, 3 Feb 2019 13:54:04 +0100 Subject: [PATCH] Revert part of change from 5536eded. Fixed drag and drop in docking branch. (#2331, reopening #2325) --- imgui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/imgui.cpp b/imgui.cpp index 92c2694b..f47be8d6 100644 --- a/imgui.cpp +++ b/imgui.cpp @@ -4297,7 +4297,7 @@ static void FindHoveredWindow() g.HoveredWindow = hovered_window; g.HoveredRootWindow = g.HoveredWindow ? g.HoveredWindow->RootWindow : NULL; - g.HoveredWindowUnderMovingWindow = g.MovingWindow ? hovered_window_ignoring_moving_window : NULL; + g.HoveredWindowUnderMovingWindow = hovered_window_ignoring_moving_window; if (g.MovingWindow) g.MovingWindow->Viewport = moving_window_viewport;