WEFT_OS/crates/weft-compositor
Marco Allegretti 239afc2d11
fix(compositor): publish the Wayland socket to the systemd user manager
The services started after the compositor had no way to learn its
socket: the NixOS shell service hardcoded wayland-1, weft-appd's service
had no WAYLAND_DISPLAY at all, so the app shells it starts could not
connect, and the plain unit's comment claimed the compositor posted the
socket to the environment, which it did not.

Started by systemd, the compositor now sets WAYLAND_DISPLAY in the user
manager with systemctl --user set-environment right after creating its
socket and before reporting readiness, so the units ordered after it
inherit it. The winit backend now reports readiness too, as a Type=notify
unit expects.
2026-10-09 20:34:33 +00:00
..
src fix(compositor): publish the Wayland socket to the systemd user manager 2026-10-09 20:34:33 +00:00
Cargo.toml feat(compositor): add appd IPC server (Unix socket, length-prefixed MessagePack framing) 2026-03-11 14:29:22 +01:00