1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-05 12:10:55 +00:00

simplify the way window is allowed to steal focus, no longer relying on project.godot. Closes #9459

(cherry picked from commit 533014b88c)
This commit is contained in:
Juan Linietsky
2017-08-20 23:42:54 -03:00
committed by Rémi Verschelde
parent a6b160660c
commit e8fb68e038
3 changed files with 10 additions and 7 deletions

View File

@@ -130,8 +130,6 @@ void ScriptDebuggerRemote::debug(ScriptLanguage *p_script, bool p_can_continue)
ERR_FAIL();
}
OS::get_singleton()->enable_for_stealing_focus(Globals::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);