Skip to content

Commit 08e4109

Browse files
committed
Merge pull request #104083 from Hilderin/fix-missing-binding-notification-wm-position-changed
Fix missing binding for `NOTIFICATION_WM_POSITION_CHANGED`
2 parents de7756d + 14b1e40 commit 08e4109

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

doc/classes/Node.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1226,6 +1226,9 @@
12261226
<constant name="NOTIFICATION_VP_MOUSE_EXIT" value="1011">
12271227
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.
12281228
</constant>
1229+
<constant name="NOTIFICATION_WM_POSITION_CHANGED" value="1012">
1230+
Notification received when the window is moved.
1231+
</constant>
12291232
<constant name="NOTIFICATION_OS_MEMORY_WARNING" value="2009">
12301233
Notification received from the OS when the application is exceeding its allocated memory.
12311234
Implemented only on iOS.

scene/main/node.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3811,6 +3811,7 @@ void Node::_bind_methods() {
38113811
BIND_CONSTANT(NOTIFICATION_WM_DPI_CHANGE);
38123812
BIND_CONSTANT(NOTIFICATION_VP_MOUSE_ENTER);
38133813
BIND_CONSTANT(NOTIFICATION_VP_MOUSE_EXIT);
3814+
BIND_CONSTANT(NOTIFICATION_WM_POSITION_CHANGED);
38143815
BIND_CONSTANT(NOTIFICATION_OS_MEMORY_WARNING);
38153816
BIND_CONSTANT(NOTIFICATION_TRANSLATION_CHANGED);
38163817
BIND_CONSTANT(NOTIFICATION_WM_ABOUT);

0 commit comments

Comments
 (0)