feat(wayland): WaylandLayershell attached property for PanelWindow

This commit is contained in:
outfoxxed 2024-02-25 18:25:48 -08:00
parent 13c5d7c7a9
commit e2063e8b93
Signed by untrusted user: outfoxxed
GPG key ID: 4C88A185FB89301E
2 changed files with 13 additions and 0 deletions

View file

@ -150,6 +150,14 @@ void WaylandLayershell::updateAutoExclusion() {
}
}
WaylandLayershell* WaylandLayershell::qmlAttachedProperties(QObject* object) {
if (auto* obj = qobject_cast<WaylandPanelInterface*>(object)) {
return obj->layer;
} else {
return nullptr;
}
}
// WaylandPanelInterface
WaylandPanelInterface::WaylandPanelInterface(QObject* parent)