| 132 | } |
| 133 | |
| 134 | void msh::SystemCompositorWindowManager::remove_surface( |
| 135 | std::shared_ptr<ms::Session> const& session, |
| 136 | std::weak_ptr<ms::Surface> const& surface) |
| 137 | { |
| 138 | if (auto const locked = surface.lock()) |
| 139 | session->destroy_surface(locked); |
| 140 | |
| 141 | std::lock_guard lock{mutex}; |
| 142 | output_map.erase(surface); |
| 143 | } |
| 144 | |
| 145 | void msh::SystemCompositorWindowManager::add_display(mir::geometry::Rectangle const& /*area*/) |
| 146 | { |
nothing calls this directly
no test coverage detected