From ca45ce91b7e381c7a7759984397591dcabab3c3f Mon Sep 17 00:00:00 2001 From: "carsonuderitz@gmail.com" Date: Thu, 20 Nov 2025 15:26:53 -0500 Subject: [PATCH] fix emulated touch events using the incorrect window id --- core/input/input.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/core/input/input.cpp b/core/input/input.cpp index 3f0e524d9a6..8d4ab64036d 100644 --- a/core/input/input.cpp +++ b/core/input/input.cpp @@ -795,6 +795,7 @@ void Input::_parse_input_event_impl(const Ref &p_event, bool p_is_em touch_event->set_canceled(mb->is_canceled()); touch_event->set_position(mb->get_position()); touch_event->set_double_tap(mb->is_double_click()); + touch_event->set_window_id(mb->get_window_id()); touch_event->set_device(InputEvent::DEVICE_ID_EMULATION); _THREAD_SAFE_UNLOCK_ event_dispatch_function(touch_event);