From 14b1e40e36d72773c91046615ae6c15652422c77 Mon Sep 17 00:00:00 2001 From: Hilderin <81109165+Hilderin@users.noreply.github.com> Date: Thu, 13 Mar 2025 16:12:16 -0400 Subject: [PATCH] Fix missing binding for NOTIFICATION_WM_POSITION_CHANGED --- doc/classes/Node.xml | 3 +++ scene/main/node.cpp | 1 + 2 files changed, 4 insertions(+) diff --git a/doc/classes/Node.xml b/doc/classes/Node.xml index 15852097fb..fd0a2594c2 100644 --- a/doc/classes/Node.xml +++ b/doc/classes/Node.xml @@ -1226,6 +1226,9 @@ Notification received when the mouse cursor leaves the [Viewport]'s visible area, that is not occluded behind other [Control]s or [Window]s, provided its [member Viewport.gui_disable_input] is [code]false[/code] and regardless if it's currently focused or not. + + Notification received when the window is moved. + Notification received from the OS when the application is exceeding its allocated memory. Implemented only on iOS. diff --git a/scene/main/node.cpp b/scene/main/node.cpp index 0978aa9ddf..ed0add6f43 100644 --- a/scene/main/node.cpp +++ b/scene/main/node.cpp @@ -3811,6 +3811,7 @@ void Node::_bind_methods() { BIND_CONSTANT(NOTIFICATION_WM_DPI_CHANGE); BIND_CONSTANT(NOTIFICATION_VP_MOUSE_ENTER); BIND_CONSTANT(NOTIFICATION_VP_MOUSE_EXIT); + BIND_CONSTANT(NOTIFICATION_WM_POSITION_CHANGED); BIND_CONSTANT(NOTIFICATION_OS_MEMORY_WARNING); BIND_CONSTANT(NOTIFICATION_TRANSLATION_CHANGED); BIND_CONSTANT(NOTIFICATION_WM_ABOUT);