diff options
author | Juan Linietsky <juan@godotengine.org> | 2020-03-03 10:36:29 -0300 |
---|---|---|
committer | Juan Linietsky <reduzio@gmail.com> | 2020-03-26 15:49:34 +0100 |
commit | f8a79a97c7d12da43b111a756f09ee7ad5ea28e9 (patch) | |
tree | 6728478a8e3bb2669ee4096cf354e87475b4469d /core/debugger | |
parent | 4396e98834f159da59ec790f2ff64fb65dacd9ce (diff) |
Effective DisplayServer separation, rename X11 -> LinuxBSD
Diffstat (limited to 'core/debugger')
-rw-r--r-- | core/debugger/remote_debugger.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/debugger/remote_debugger.cpp b/core/debugger/remote_debugger.cpp index 09c60e222c..1cf18239ab 100644 --- a/core/debugger/remote_debugger.cpp +++ b/core/debugger/remote_debugger.cpp @@ -38,6 +38,7 @@ #include "core/project_settings.h" #include "core/script_language.h" #include "scene/main/node.h" +#include "servers/display_server.h" template <typename T> void RemoteDebugger::_bind_profiler(const String &p_name, T *p_prof) { @@ -694,7 +695,7 @@ void RemoteDebugger::debug(bool p_can_continue, bool p_is_error_breakpoint) { } else if (command == "continue") { script_debugger->set_depth(-1); script_debugger->set_lines_left(-1); - OS::get_singleton()->move_window_to_foreground(); + DisplayServer::get_singleton()->window_move_to_foreground(); break; } else if (command == "break") { |