7#include <PhosphorLayer/phosphorlayer_export.h>
51 std::unique_ptr<Impl> m_impl;
Abstracts the layer-shell protocol binding.
Definition ILayerShellTransport.h:111
quint64 CompositorLostCookie
Definition ILayerShellTransport.h:150
std::function< void()> CompositorLostCallback
Register a callback fired when the compositor's layer-shell global is removed (compositor crash / res...
Definition ILayerShellTransport.h:149
Default transport: binds surfaces to wlr-layer-shell via PhosphorWayland's LayerSurface class.
Definition PhosphorWaylandTransport.h:39
std::unique_ptr< ITransportHandle > attach(QQuickWindow *win, const TransportAttachArgs &args) override
Mark win as a layer-shell surface with the given initial configuration.
bool isSupported() const override
True if the compositor advertises wlr-layer-shell.
PhosphorWaylandTransport()
CompositorLostCookie addCompositorLostCallback(CompositorLostCallback cb) override
~PhosphorWaylandTransport() override
void removeCompositorLostCallback(CompositorLostCookie cookie) override
Definition SurfaceAnimator.h:26
Arguments passed to ILayerShellTransport::attach().
Definition ILayerShellTransport.h:33