MCPcopy Create free account
hub / github.com/canonical/mir / content_offset

Method content_offset

src/server/scene/basic_surface.cpp:302–306  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

300}
301
302mir::geometry::Displacement ms::BasicSurface::content_offset() const
303{
304 auto state = synchronised_state.lock();
305 return geom::Displacement{state->margins.left, state->margins.top};
306}
307
308mir::geometry::Size ms::BasicSurface::content_size() const
309{

Callers 5

modify_windowMethod · 0.45
place_new_surfaceMethod · 0.45
modify_surfaceMethod · 0.45
prep_surface_specMethod · 0.45

Calls 1

lockMethod · 0.45

Tested by

no test coverage detected