Merge pull request #6479 from RandomShaper/improve-debug-focus

Improve debug focus behavior
This commit is contained in:
Rémi Verschelde
2016-10-03 11:36:01 +02:00
committed by GitHub
9 changed files with 30 additions and 1 deletions

View File

@ -2157,10 +2157,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);
}