Merge pull request #99988 from Hilderin/fix-regression-inspector-tooltip-blinking

Fix Inspector tooltips are blinking
This commit is contained in:
Thaddeus Crews 2024-12-04 11:02:07 -06:00
commit 9381479dd3
No known key found for this signature in database
GPG Key ID: 62181B86FE9E5D84

View File

@ -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;