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

Method init

plugins/single_plugins/place.cpp:62–70  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

60
61 public:
62 void init() override
63 {
64 auto workarea = output->workarea->get_workarea();
65 cascade_x = workarea.x;
66 cascade_y = workarea.y;
67
68 output->connect(&workarea_changed_cb);
69 output->connect(&on_view_mapped);
70 }
71
72 void cascade(wayfire_toplevel_view & view, wf::geometry_t workarea)
73 {

Callers

nothing calls this directly

Calls 2

get_workareaMethod · 0.80
connectMethod · 0.80

Tested by

no test coverage detected