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

Method idle

src/server/shell/basic_idle_handler.cpp:142–150  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

140 }
141
142 void idle() override
143 {
144 if (!renderable)
145 {
146 renderable = std::make_shared<DimmingRenderable>(*allocator);
147 input_scene->add_input_visualization(renderable);
148 observer.dim();
149 }
150 }
151
152private:
153 std::shared_ptr<mi::Scene> const input_scene;

Callers 1

TEST_FFunction · 0.45

Calls 2

dimMethod · 0.45

Tested by 1

TEST_FFunction · 0.36