Skip to content

Commit

Permalink
Merge pull request #3131 from MirServer/drop-dead-code
Browse files Browse the repository at this point in the history
Drop dead code
  • Loading branch information
RAOF authored Nov 17, 2023
2 parents f13aabd + 5fa4ea3 commit 88c1745
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 10 deletions.
9 changes: 0 additions & 9 deletions src/server/frontend_wayland/window_wl_surface_role.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -235,15 +235,6 @@ void mf::WindowWlSurfaceRole::set_fullscreen(std::optional<struct wl_resource*>
}
}

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;
Expand Down
2 changes: 1 addition & 1 deletion src/server/frontend_wayland/window_wl_surface_role.h
Original file line number Diff line number Diff line change
Expand Up @@ -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<wl_resource*> const& output);
void set_server_side_decorated(bool server_side_decorated);

void set_type(MirWindowType type);

void add_state_now(MirWindowState state);
Expand Down

0 comments on commit 88c1745

Please sign in to comment.