MCPcopy Create free account
hub / github.com/WayfireWM/wayfire / fini

Method fini

plugins/tile/tile-plugin.cpp:406–422  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

404 }
405
406 void fini() override
407 {
408 preview_manager.reset();
409 fini_output_tracking();
410 for (auto wset : workspace_set_t::get_all())
411 {
412 wset->erase_data<tile_workspace_set_data_t>();
413 }
414
415 for (auto wo : wf::get_core().output_layout->get_outputs())
416 {
417 wo->erase_data<tile_output_plugin_t>();
418 }
419
420 ipc_repo->unregister_method("simple-tile/get-layout");
421 ipc_repo->unregister_method("simple-tile/set-layout");
422 }
423
424 void stop_controller(std::shared_ptr<wf::workspace_set_t> wset)
425 {

Callers

nothing calls this directly

Calls 3

unregister_methodMethod · 0.80
resetMethod · 0.45
get_outputsMethod · 0.45

Tested by

no test coverage detected