You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
Add a separate application focus/in notification out from Window focus notification.
This commit is contained in:
@@ -1853,7 +1853,7 @@ void NativeReloadNode::_notification(int p_what) {
|
||||
#ifdef TOOLS_ENABLED
|
||||
|
||||
switch (p_what) {
|
||||
case NOTIFICATION_WM_FOCUS_OUT: {
|
||||
case NOTIFICATION_APPLICATION_FOCUS_OUT: {
|
||||
if (unloaded) {
|
||||
break;
|
||||
}
|
||||
@@ -1887,7 +1887,7 @@ void NativeReloadNode::_notification(int p_what) {
|
||||
|
||||
} break;
|
||||
|
||||
case NOTIFICATION_WM_FOCUS_IN: {
|
||||
case NOTIFICATION_APPLICATION_FOCUS_IN: {
|
||||
if (!unloaded) {
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user