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

Method focus_state

src/server/scene/basic_surface.cpp:983–986  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

981}
982
983auto mir::scene::BasicSurface::focus_state() const -> MirWindowFocusState
984{
985 return synchronised_state.lock()->focus;
986}
987
988void mir::scene::BasicSurface::set_focus_state(MirWindowFocusState new_state)
989{

Callers 7

SelfMethod · 0.45
LockedPointerV1Method · 0.45
ConfinedPointerV1Method · 0.45
attrib_changedMethod · 0.45
is_activeMethod · 0.45
create_scene_surfaceMethod · 0.45

Calls 1

lockMethod · 0.45

Tested by

no test coverage detected