From ddefe73c41b357c7c8b8a85fb4cd28150a39a65b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pa=CC=84vels=20Nadtoc=CC=8Cajevs?= <7645683+bruvzg@users.noreply.github.com> Date: Tue, 13 May 2025 14:17:45 +0300 Subject: [PATCH] [macOS] Fix embedded window position when host control is moved, but not resized. --- platform/macos/editor/embedded_process_macos.mm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/platform/macos/editor/embedded_process_macos.mm b/platform/macos/editor/embedded_process_macos.mm index b2c80fb25a..e30031bf78 100644 --- a/platform/macos/editor/embedded_process_macos.mm +++ b/platform/macos/editor/embedded_process_macos.mm @@ -43,7 +43,10 @@ void EmbeddedProcessMacOS::_notification(int p_what) { switch (p_what) { - case NOTIFICATION_RESIZED: + case NOTIFICATION_ENTER_TREE: { + set_notify_transform(true); + } break; + case NOTIFICATION_TRANSFORM_CHANGED: case NOTIFICATION_VISIBILITY_CHANGED: { update_embedded_process(); } break;