diff options
| author | Pedro J. Estébanez | 2016-09-14 04:02:18 +0200 |
|---|---|---|
| committer | Rémi Verschelde | 2016-10-09 17:29:59 +0200 |
| commit | 12d4d6566892a377e5e6ddd171ecf69a2ccf129d (patch) | |
| tree | 6b0a50317eb4f266e3e8c9b65707bad9e1451ae0 /tools/editor/script_editor_debugger.cpp | |
| parent | 56dc7aa568b7df870cb894847ec5998964e05765 (diff) | |
| download | godot-12d4d6566892a377e5e6ddd171ecf69a2ccf129d.tar.gz godot-12d4d6566892a377e5e6ddd171ecf69a2ccf129d.tar.zst godot-12d4d6566892a377e5e6ddd171ecf69a2ccf129d.zip | |
Improve debug focus behavior
Fix focusing debugged game on Windows
Add re-focusing editor on continue
(cherry picked from commit 66dac878ac9fc278044281b7f67fbed668e4523d)
Diffstat (limited to 'tools/editor/script_editor_debugger.cpp')
| -rw-r--r-- | tools/editor/script_editor_debugger.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/editor/script_editor_debugger.cpp b/tools/editor/script_editor_debugger.cpp index def0a7dfa..3f55cfbb1 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); |
