phosphor-placement
Window-zone tracking, floating state, auto-snap, and resnap.
Core business logic for zone-based window management. Tracks which windows are in which zones, handles floating and unfloating, auto-snaps new windows to their last-used zone, resnaps when layouts or screens change, rotates windows between zones, and answers empty-zone queries for snap-assist. The daemon owns a WindowTrackingService instance and exposes it over D-Bus, so any compositor plugin gets this logic without linking the library. The daemon decides placement and the plugin applies it.
Key types
WindowTrackingServiceIGeometryResolverPlacementConfigDependencies
QtCoreQtGuiphosphor-enginephosphor-snap-enginephosphor-zonesphosphor-protocolphosphor-screensphosphor-workspacesphosphor-identityphosphor-layout-api
See also
References
- Library overview → The library's design notes in the API reference.
- Namespace index → Every symbol under
PhosphorPlacement::. - API reference → Classes, namespaces and D-Bus interfaces across every library.