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

Method create

src/output/workspace-impl.cpp:816–821  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

814}
815
816std::shared_ptr<workspace_set_t> workspace_set_t::create(int64_t index)
817{
818 index = choose_lowest_free_wset_id(index);
819 auto wset = wf::tracking_allocator_t<workspace_set_t>::get().allocate<workspace_set_t>(index);
820 return wset;
821}
822} // namespace wf

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected