7#include <PhosphorLayer/phosphorlayer_export.h>
66 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
Fallback transport for compositors without wlr-layer-shell.
Definition XdgToplevelTransport.h:42
~XdgToplevelTransport() override
void removeCompositorLostCallback(CompositorLostCookie cookie) override
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.
void simulateCompositorLost()
Fire every registered compositor-lost callback.
CompositorLostCookie addCompositorLostCallback(CompositorLostCallback cb) override
Definition SurfaceAnimator.h:26
Arguments passed to ILayerShellTransport::attach().
Definition ILayerShellTransport.h:33