| 351 | } |
| 352 | |
| 353 | void Window::set_current_screen(int p_screen) { |
| 354 | ERR_MAIN_THREAD_GUARD; |
| 355 | |
| 356 | current_screen = p_screen; |
| 357 | if (window_id == DisplayServer::INVALID_WINDOW_ID) { |
| 358 | return; |
| 359 | } |
| 360 | DisplayServer::get_singleton()->window_set_current_screen(p_screen, window_id); |
| 361 | } |
| 362 | |
| 363 | int Window::get_current_screen() const { |
| 364 | ERR_READ_THREAD_GUARD_V(0); |
no test coverage detected