diff --git a/src/server/frontend_wayland/window_wl_surface_role.cpp b/src/server/frontend_wayland/window_wl_surface_role.cpp index 8ce33965ccc..a42493de753 100644 --- a/src/server/frontend_wayland/window_wl_surface_role.cpp +++ b/src/server/frontend_wayland/window_wl_surface_role.cpp @@ -235,15 +235,6 @@ void mf::WindowWlSurfaceRole::set_fullscreen(std::optional } } -void mf::WindowWlSurfaceRole::set_server_side_decorated(bool server_side_decorated) -{ - spec().server_side_decorated = server_side_decorated; - if (weak_scene_surface.lock()) - { - log_warning("Changing server_side_decorated property after surface created not yet possible"); - } -} - void mir::frontend::WindowWlSurfaceRole::set_type(MirWindowType type) { spec().type = type; diff --git a/src/server/frontend_wayland/window_wl_surface_role.h b/src/server/frontend_wayland/window_wl_surface_role.h index ab6093fe540..7174c386a00 100644 --- a/src/server/frontend_wayland/window_wl_surface_role.h +++ b/src/server/frontend_wayland/window_wl_surface_role.h @@ -90,7 +90,7 @@ class WindowWlSurfaceRole void set_max_size(int32_t width, int32_t height); void set_min_size(int32_t width, int32_t height); void set_fullscreen(std::optional const& output); - void set_server_side_decorated(bool server_side_decorated); + void set_type(MirWindowType type); void add_state_now(MirWindowState state);