| 361 | } |
| 362 | |
| 363 | int Window::get_current_screen() const { |
| 364 | ERR_READ_THREAD_GUARD_V(0); |
| 365 | |
| 366 | if (window_id != DisplayServer::INVALID_WINDOW_ID) { |
| 367 | current_screen = DisplayServer::get_singleton()->window_get_current_screen(window_id); |
| 368 | } |
| 369 | return current_screen; |
| 370 | } |
| 371 | |
| 372 | void Window::set_position(const Point2i &p_position) { |
| 373 | ERR_MAIN_THREAD_GUARD; |
no test coverage detected