From 88259a69ae6a8445bf0f4fdd1a8d483eabf295c9 Mon Sep 17 00:00:00 2001 From: Kawe Mazidjatari <48657826+Mauler125@users.noreply.github.com> Date: Fri, 24 Jun 2022 15:23:14 +0200 Subject: [PATCH] Allow selection while cursor is no longer hovered over child window --- r5dev/thirdparty/imgui/src/imgui_logger.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/r5dev/thirdparty/imgui/src/imgui_logger.cpp b/r5dev/thirdparty/imgui/src/imgui_logger.cpp index 988b2326..2a52a9b3 100644 --- a/r5dev/thirdparty/imgui/src/imgui_logger.cpp +++ b/r5dev/thirdparty/imgui/src/imgui_logger.cpp @@ -607,7 +607,7 @@ void CTextLogger::HandleMouseInputs() bool ctrl = io.ConfigMacOSXBehaviors ? io.KeySuper : io.KeyCtrl; bool alt = io.ConfigMacOSXBehaviors ? io.KeyCtrl : io.KeyAlt; - if (ImGui::IsWindowHovered()) + if (ImGui::IsWindowFocused()) { if (!shift && !alt) {