--single-window is passed through project manager.
This means you can start godot with --single-window
This commit is contained in:
parent
173c0f8737
commit
2b292a1a2a
4 changed files with 13 additions and 3 deletions
|
|
@ -146,6 +146,10 @@ bool OS::is_stdout_verbose() const {
|
|||
return _verbose_stdout;
|
||||
}
|
||||
|
||||
bool OS::is_single_window() const {
|
||||
return _single_window;
|
||||
}
|
||||
|
||||
bool OS::is_stdout_debug_enabled() const {
|
||||
return _debug_stdout;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -52,6 +52,7 @@ class OS {
|
|||
int low_processor_usage_mode_sleep_usec = 10000;
|
||||
bool _verbose_stdout = false;
|
||||
bool _debug_stdout = false;
|
||||
bool _single_window = false;
|
||||
String _local_clipboard;
|
||||
int _exit_code = EXIT_FAILURE; // unexpected exit is marked as failure
|
||||
int _orientation;
|
||||
|
|
@ -224,6 +225,8 @@ public:
|
|||
void set_stdout_enabled(bool p_enabled);
|
||||
void set_stderr_enabled(bool p_enabled);
|
||||
|
||||
bool is_single_window() const;
|
||||
|
||||
virtual void disable_crash_handler() {}
|
||||
virtual bool is_disable_crash_handler() const { return false; }
|
||||
virtual void initialize_debugging() {}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue