summaryrefslogtreecommitdiff
path: root/core/script_debugger_remote.cpp
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2017-08-20 23:42:54 -0300
committerJuan Linietsky <reduzio@gmail.com>2017-08-20 23:42:54 -0300
commit533014b88c964044441dc04dce6e757b0776de97 (patch)
tree2a31350e0a9509fbd9b7501fdf8fd494dd61f7ec /core/script_debugger_remote.cpp
parent0bdbe370bf68a42cf41f3dbe68a094a9a982c7d9 (diff)
simplify the way window is allowed to steal focus, no longer relying on project.godot. Closes #9459
Diffstat (limited to 'core/script_debugger_remote.cpp')
-rw-r--r--core/script_debugger_remote.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/core/script_debugger_remote.cpp b/core/script_debugger_remote.cpp
index 25f0044cc6..9e4f4380c9 100644
--- a/core/script_debugger_remote.cpp
+++ b/core/script_debugger_remote.cpp
@@ -142,8 +142,6 @@ void ScriptDebuggerRemote::debug(ScriptLanguage *p_script, bool p_can_continue)
ERR_FAIL();
}
- OS::get_singleton()->enable_for_stealing_focus(ProjectSettings::get_singleton()->get("editor_pid"));
-
packet_peer_stream->put_var("debug_enter");
packet_peer_stream->put_var(2);
packet_peer_stream->put_var(p_can_continue);