mirror of
https://github.com/godotengine/godot.git
synced 2025-11-09 10:01:15 +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:
parent
56dc7aa568
commit
12d4d65668
9 changed files with 30 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue