aboutsummaryrefslogtreecommitdiff
path: root/core/os/main_loop.h
diff options
context:
space:
mode:
Diffstat (limited to 'core/os/main_loop.h')
-rw-r--r--core/os/main_loop.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/core/os/main_loop.h b/core/os/main_loop.h
index 23b352468..a0125ec13 100644
--- a/core/os/main_loop.h
+++ b/core/os/main_loop.h
@@ -56,7 +56,11 @@ public:
NOTIFICATION_WM_GO_BACK_REQUEST = 7,
NOTIFICATION_WM_UNFOCUS_REQUEST = 8,
NOTIFICATION_OS_MEMORY_WARNING = 9,
- NOTIFICATION_TRANSLATION_CHANGED = 10,
+ // Note: NOTIFICATION_TRANSLATION_CHANGED and NOTIFICATION_WM_ABOUT used to have id=10 and id=11 but these
+ // conflict with NOTIFICATION_ENTER_TREE (id=10) and NOTIFICATION_EXIT_TREE (id=11), so id=90 and id=91
+ // fixes this issue.
+ NOTIFICATION_TRANSLATION_CHANGED = 90,
+ NOTIFICATION_WM_ABOUT = 91,
};
virtual void input_event(const Ref<InputEvent> &p_event);