mirror of
https://github.com/ocornut/imgui.git
synced 2026-01-13 00:24:20 +00:00
This would be problematic e.g. in situation where the application relies on io.WantCaptureKeyboard flag being cleared accordingly.
This commit is contained in:
parent
550f110354
commit
eefae08261
2 changed files with 5 additions and 2 deletions
|
|
@ -3367,7 +3367,7 @@ void ImGui::UpdateMouseMovingWindowEndFrame()
|
|||
if (!root_window->TitleBarRect().Contains(g.IO.MouseClickedPos[0]))
|
||||
g.MovingWindow = NULL;
|
||||
}
|
||||
else if (root_window != NULL && g.NavWindow != NULL && GetTopMostPopupModal() == NULL)
|
||||
else if (root_window == NULL && g.NavWindow != NULL && GetTopMostPopupModal() == NULL)
|
||||
{
|
||||
// Clicking on void disable focus
|
||||
FocusWindow(NULL);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue