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

Method get_center_offset

plugins/single_plugins/switcher.cpp:379–382  ·  view source on GitHub ↗

offset from the left or from the right */

Source from the content-addressed store, hash-verified

377
378 /* offset from the left or from the right */
379 float get_center_offset()
380 {
381 return output->get_relative_geometry().width / 3.0;
382 }
383
384 /* get the scale for non-focused views */
385 float get_back_scale()

Callers

nothing calls this directly

Calls 1

get_relative_geometryMethod · 0.80

Tested by

no test coverage detected