7#include <PhosphorLayer/phosphorlayer_export.h>
60 virtual QQuickWindow* window() const = 0;
65 virtual
bool isConfigured() const = 0;
77 virtual
void setMargins(QMargins m) = 0;
78 virtual
void setLayer(
Layer l) = 0;
79 virtual
void setExclusiveZone(
int z) = 0;
81 virtual
void setAnchors(Anchors a) = 0;
95 virtual
void setDesiredSize(QSize size) = 0;
100 virtual QSize configuredSize() const = 0;
119 virtual
bool isSupported() const = 0;
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
ILayerShellTransport()=default
virtual ~ILayerShellTransport()=default
Handle returned by attach(); lets the caller mutate post-show properties that the wlr-layer-shell pro...
Definition ILayerShellTransport.h:53
virtual ~ITransportHandle()=default
ITransportHandle()=default
Definition SurfaceAnimator.h:26
KeyboardInteractivity
Keyboard focus policy (wlr-layer-shell v4 adds OnDemand).
Definition Role.h:51
@ None
Surface never receives keyboard focus (click-through)
Layer
Meta-object context for namespace-level enums so QML and QMetaEnum can stringify them.
Definition Role.h:24
@ Overlay
Above everything including fullscreen (HUDs, OSDs)
constexpr Anchors AnchorNone
Definition Role.h:47
Arguments passed to ILayerShellTransport::attach().
Definition ILayerShellTransport.h:33
Layer layer
Definition ILayerShellTransport.h:35
QScreen * screen
Definition ILayerShellTransport.h:34
KeyboardInteractivity keyboard
Definition ILayerShellTransport.h:38
QMargins margins
Definition ILayerShellTransport.h:39
QString scope
Fully-qualified scope (prefix + instance disambiguator)
Definition ILayerShellTransport.h:40
Anchors anchors
Definition ILayerShellTransport.h:36
int exclusiveZone
Definition ILayerShellTransport.h:37