macOS: Embedded window can be dismissed by clicking close
- Installed a SIGINT handler to terminate the application gracefully. - Handle varying display scaling
This commit is contained in:
parent
19bb18716e
commit
f658161619
12 changed files with 144 additions and 70 deletions
|
|
@ -864,7 +864,7 @@ void GameView::_update_arguments_for_instance(int p_idx, List<String> &r_argumen
|
|||
N = r_arguments.insert_after(N, itos(DisplayServer::get_singleton()->window_get_native_handle(DisplayServer::WINDOW_HANDLE, get_window()->get_window_id())));
|
||||
|
||||
#if MACOS_ENABLED
|
||||
r_arguments.push_back("--embedded");
|
||||
N = r_arguments.insert_after(N, "--embedded");
|
||||
#endif
|
||||
|
||||
// Be sure to have the correct window size in the embedded_process control.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue