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

Improve debug focus behavior

Fix focusing debugged game on Windows
Add re-focusing editor on continue

(cherry picked from commit 66dac878ac)
This commit is contained in:
Pedro J. Estébanez
2016-09-14 04:02:18 +02:00
committed by Rémi Verschelde
parent 56dc7aa568
commit 12d4d65668
9 changed files with 30 additions and 1 deletions

View File

@@ -216,6 +216,8 @@ void ScriptEditorDebugger::debug_continue() {
ERR_FAIL_COND(connection.is_null());
ERR_FAIL_COND(!connection->is_connected());
OS::get_singleton()->enable_for_stealing_focus(EditorNode::get_singleton()->get_child_process_id());
Array msg;
msg.push_back("continue");
ppeer->put_var(msg);