diff --git a/Userland/Services/WindowServer/Screen.cpp b/Userland/Services/WindowServer/Screen.cpp index d8aca0bb83..1ee5ff4044 100644 --- a/Userland/Services/WindowServer/Screen.cpp +++ b/Userland/Services/WindowServer/Screen.cpp @@ -264,11 +264,6 @@ void Screen::scale_factor_changed() constrain_pending_flush_rects(); } -void Screen::init() -{ - set_resolution(true); -} - Screen& Screen::closest_to_rect(const Gfx::IntRect& rect) { Screen* best_screen = nullptr; diff --git a/Userland/Services/WindowServer/Screen.h b/Userland/Services/WindowServer/Screen.h index 0a961a6cb2..c4f8810984 100644 --- a/Userland/Services/WindowServer/Screen.h +++ b/Userland/Services/WindowServer/Screen.h @@ -75,7 +75,6 @@ public: update_bounding_rect(); if (!s_main_screen) s_main_screen = screen_ptr; - screen_ptr->init(); return screen_ptr; } ~Screen();