Expand description
Mutter implementation of waydriver::CompositorRuntime.
Owns the private-bus dbus-daemon, the pipewire + wireplumber pair,
and a headless mutter --wayland instance. After MutterCompositor::start
returns, MutterCompositor::state exposes an Arc<MutterState> that
sibling backends (waydriver-input-mutter, waydriver-capture-mutter) use
to talk to the same mutter D-Bus session.
§Shared-state invariant
While any Arc<MutterState> exists, the mutter child processes and the
private D-Bus connection MUST remain alive. waydriver::Session::kill
enforces this by dropping input and capture trait objects before calling
compositor.stop().await.
Structs§
- Mutter
Compositor - Headless mutter instance.
- Mutter
State - Shared mutter-backend state consumed by
waydriver-input-mutterandwaydriver-capture-mutter.
Functions§
- establish_
runtime_ root - Eagerly capture [
HOST_RUNTIME_ROOT] from the currentXDG_RUNTIME_DIRand return it.