phosphor-wayland

Custom QPA plugin + LayerSurface wrapper.

The lowest level of the layer-shell stack. A custom QPA plugin (phosphorwayland) mounts QWindows on top of zwlr_layer_shell_v1 surfaces; LayerSurface is the pure-Qt wrapper that exposes layer / anchors / exclusive-zone / margins / keyboard interactivity as Q_PROPERTYs. registerLayerShellPlugin() is a header-only helper that sets the QPA env var when a Wayland compositor is actually running. Split out of the old phosphor-shell along with phosphor-shaders.

Full API →

Key types

LayerSurface
QObject wrapper around a zwlr_layer_shell_v1 surface; pure Qt API.
registerLayerShellPlugin
Header-only env-var setup before QGuiApplication.
ForeignToplevel
ext/wlr foreign-toplevel consumer for taskbars and window lists.
IdleNotifier
ext-idle-notify-v1 wrapper for idle / active detection.
IdleInhibitor
zwp-idle-inhibit-v1 wrapper to suppress idle while active.
LayerSurfaceProps
Property-key constants for LayerSurface ↔ QPA plugin communication.

Dependencies

See also

References