From a80eb8c503a7f09a904ff7a51d7e4cfa811444ce Mon Sep 17 00:00:00 2001 From: Hilderin <81109165+Hilderin@users.noreply.github.com> Date: Tue, 3 Dec 2024 17:21:00 -0500 Subject: [PATCH] Fix Inspector tooltips are blinking --- platform/windows/display_server_windows.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/windows/display_server_windows.cpp b/platform/windows/display_server_windows.cpp index 8e2d47709f9c..271a93b122f0 100644 --- a/platform/windows/display_server_windows.cpp +++ b/platform/windows/display_server_windows.cpp @@ -4815,7 +4815,7 @@ LRESULT DisplayServerWindows::WndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARA } DisplayServer::WindowID receiving_window_id = window_id; - if (mouse_mode == MOUSE_MODE_CAPTURED || mouse_mode == MOUSE_MODE_CONFINED || mouse_mode == MOUSE_MODE_CONFINED_HIDDEN) { + if (!windows[window_id].no_focus) { receiving_window_id = _get_focused_window_or_popup(); if (receiving_window_id == INVALID_WINDOW_ID) { receiving_window_id = window_id;