Improve debug focus behavior
Fix focusing debugged game on Windows Add re-focusing editor on continue
This commit is contained in:
@ -2154,10 +2154,15 @@ String OS_Windows::get_stdin_string(bool p_block) {
|
||||
}
|
||||
|
||||
|
||||
void OS_Windows::enable_for_stealing_focus(ProcessID pid) {
|
||||
|
||||
AllowSetForegroundWindow(pid);
|
||||
|
||||
}
|
||||
|
||||
void OS_Windows::move_window_to_foreground() {
|
||||
|
||||
SetForegroundWindow(hWnd);
|
||||
BringWindowToTop(hWnd);
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user