From 66dac878ac9fc278044281b7f67fbed668e4523d Mon Sep 17 00:00:00 2001 From: Pedro J. Estébanez Date: Wed, 14 Sep 2016 04:02:18 +0200 Subject: Improve debug focus behavior Fix focusing debugged game on Windows Add re-focusing editor on continue --- tools/editor/script_editor_debugger.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tools/editor/script_editor_debugger.cpp') diff --git a/tools/editor/script_editor_debugger.cpp b/tools/editor/script_editor_debugger.cpp index da42f5409..694413cf1 100644 --- a/tools/editor/script_editor_debugger.cpp +++ b/tools/editor/script_editor_debugger.cpp @@ -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); -- cgit v1.2.3-70-g09d2