Move ProcessID typedef out of OS

This allows decoupling a number of files from `os.h`.
This commit is contained in:
Rémi Verschelde 2026-03-03 14:57:27 +01:00
parent c0ebded926
commit 727b06a79f
No known key found for this signature in database
GPG key ID: C3336907360768E1
95 changed files with 273 additions and 191 deletions

View file

@ -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) {