diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2022-03-28 09:54:59 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-28 09:54:59 +0200 |
commit | 7e5cd4bb48bda1b2f2a80065be0b3820a5346c1d (patch) | |
tree | 328e60eb167ca722e48123780a8179d9c596121e /scene/main | |
parent | 097b81f1476a334cd5b00f97f9cd1e32d69851f1 (diff) | |
parent | 3f7770c4539c18bfd756e839ff1a5fd44a70bf91 (diff) |
Merge pull request #59118 from Sauermann/fix-window-input-event-coordinates
Diffstat (limited to 'scene/main')
-rw-r--r-- | scene/main/viewport.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/main/viewport.cpp b/scene/main/viewport.cpp index 10ff464bfa..0c7a9fda4a 100644 --- a/scene/main/viewport.cpp +++ b/scene/main/viewport.cpp @@ -2719,7 +2719,7 @@ void Viewport::push_input(const Ref<InputEvent> &p_event, bool p_local_coords) { ev = p_event; } - if (is_embedding_subwindows() && _sub_windows_forward_input(p_event)) { + if (is_embedding_subwindows() && _sub_windows_forward_input(ev)) { set_input_as_handled(); return; } |