From 2b292a1a2ad7c0a74ea186d9f53afa70b65d390f Mon Sep 17 00:00:00 2001 From: Jacob Edie Date: Mon, 14 Sep 2020 18:52:45 -0400 Subject: --single-window is passed through project manager. This means you can start godot with --single-window --- core/os/os.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'core/os/os.h') diff --git a/core/os/os.h b/core/os/os.h index 55b21266fc..f585483300 100644 --- a/core/os/os.h +++ b/core/os/os.h @@ -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() {} -- cgit v1.2.3