EditorNode: request_attn when behind other windows
The current version requests attention only when minimized which might not work as expected when it's not minimized but doesn't have focus.
This commit is contained in:
@ -2521,8 +2521,7 @@ void EditorNode::_menu_option_confirm(int p_option, bool p_confirmed) {
|
||||
}
|
||||
}
|
||||
|
||||
if (OS::get_singleton()->is_window_minimized())
|
||||
OS::get_singleton()->request_attention();
|
||||
OS::get_singleton()->request_attention();
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user