| 118 | } |
| 119 | |
| 120 | void destroy() |
| 121 | { |
| 122 | wf::scene::damage_node(shared_from_this(), get_bounding_box()); |
| 123 | wf::wlr_surface_controller_t::try_free_controller(this->lock_surface->surface); |
| 124 | wf::scene::remove_child(shared_from_this()); |
| 125 | this->interaction = std::make_unique<wf::keyboard_interaction_t>(); |
| 126 | const char *name = (this->output && this->output->handle) ? this->output->handle->name : "(deleted)"; |
| 127 | LOGC(LSHELL, "lock_surface on ", name, " destroyed"); |
| 128 | } |
| 129 | |
| 130 | wf::keyboard_interaction_t& keyboard_interaction() override |
| 131 | { |
no test coverage detected