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

Method get_wall_rectangle

plugins/common/workspace-wall.cpp:381–389  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

379}
380
381wf::geometry_t workspace_wall_t::get_wall_rectangle() const
382{
383 auto size = this->output->get_screen_size();
384 auto workspace_size = this->output->wset()->get_workspace_grid_size();
385
386 return {-gap_size, -gap_size,
387 workspace_size.width * (size.width + gap_size) + gap_size,
388 workspace_size.height * (size.height + gap_size) + gap_size};
389}
390
391void workspace_wall_t::set_ws_dim(const wf::point_t& ws, float value)
392{

Callers 1

start_zoomMethod · 0.80

Calls 3

get_screen_sizeMethod · 0.80
wsetMethod · 0.80

Tested by

no test coverage detected