You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-12 13:20:55 +00:00
Merge pull request #40555 from RandomShaper/fix_debugger_autofocus_3.2
Fix debugger not getting focused on break on Windows (3.2)
This commit is contained in:
@@ -927,6 +927,7 @@ Error Main::setup(const char *execpath, int argc, char *argv[], bool p_second_ph
|
||||
memdelete(sdr);
|
||||
} else {
|
||||
script_debugger = sdr;
|
||||
sdr->set_allow_focus_steal_pid(allow_focus_steal_pid);
|
||||
}
|
||||
} else if (debug_mode == "local") {
|
||||
|
||||
@@ -1311,10 +1312,6 @@ Error Main::setup2(Thread::ID p_main_tid_override) {
|
||||
OS::get_singleton()->set_window_always_on_top(true);
|
||||
}
|
||||
|
||||
if (allow_focus_steal_pid) {
|
||||
OS::get_singleton()->enable_for_stealing_focus(allow_focus_steal_pid);
|
||||
}
|
||||
|
||||
register_server_types();
|
||||
|
||||
MAIN_PRINT("Main: Load Remaps");
|
||||
|
||||
Reference in New Issue
Block a user