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

Method arrange_view

plugins/single_plugins/switcher.cpp:489–500  ·  view source on GitHub ↗

Position the view, starting from untransformed position */

Source from the content-addressed store, hash-verified

487
488 /* Position the view, starting from untransformed position */
489 void arrange_view(SwitcherView& sv, int position)
490 {
491 arrange_center_view(sv);
492
493 if (position == SWITCHER_POSITION_CENTER)
494 {
495 /* view already centered */
496 } else
497 {
498 move(sv, position - SWITCHER_POSITION_CENTER);
499 }
500 }
501
502 // returns a list of mapped views
503 std::vector<wayfire_toplevel_view> get_workspace_views() const

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected