phosphor-identity

Stable cross-process identity formats.

Header-only INTERFACE library that owns the wire formats for the IDs that flow through the suite: composite appId|instanceId window IDs, EDID-derived screen IDs, and <physicalId>/vs:<index> virtual-screen IDs. Daemon, KWin effect, KCM, and any future compositor plugin link the same inline definitions, so the spelling is unambiguous and centralised.

Full API →

Key types

WindowId
Helpers for the canonical appId|instanceId window-id format.
ScreenId
EDID parsing + screen-id construction; cached across TUs.
VirtualScreenId
<physicalId>/vs:<index> build/parse/detect helpers.

Dependencies

References