Move ProcessID typedef out of OS
This allows decoupling a number of files from `os.h`.
This commit is contained in:
parent
c0ebded926
commit
727b06a79f
95 changed files with 273 additions and 191 deletions
|
|
@ -190,7 +190,7 @@ int EmbeddedProcess::get_embedded_pid() const {
|
|||
return current_process_id;
|
||||
}
|
||||
|
||||
void EmbeddedProcess::embed_process(OS::ProcessID p_pid) {
|
||||
void EmbeddedProcess::embed_process(ProcessID p_pid) {
|
||||
if (!window) {
|
||||
return;
|
||||
}
|
||||
|
|
@ -395,7 +395,7 @@ void EmbeddedProcess::_check_mouse_over() {
|
|||
}
|
||||
|
||||
void EmbeddedProcess::_check_focused_process_id() {
|
||||
OS::ProcessID process_id = DisplayServer::get_singleton()->get_focused_process_id();
|
||||
ProcessID process_id = DisplayServer::get_singleton()->get_focused_process_id();
|
||||
if (process_id != focused_process_id) {
|
||||
focused_process_id = process_id;
|
||||
if (focused_process_id == current_process_id) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue