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

Method get_workspace_views

plugins/single_plugins/switcher.cpp:503–506  ·  view source on GitHub ↗

returns a list of mapped views

Source from the content-addressed store, hash-verified

501
502 // returns a list of mapped views
503 std::vector<wayfire_toplevel_view> get_workspace_views() const
504 {
505 return output->wset()->get_views(wf::WSET_MAPPED_ONLY | wf::WSET_CURRENT_WORKSPACE);
506 }
507
508 /* Change the current focus to the next or the previous view */
509 void focus_next(int dir)

Callers

nothing calls this directly

Calls 2

wsetMethod · 0.80
get_viewsMethod · 0.45

Tested by

no test coverage detected