summaryrefslogtreecommitdiff
path: root/modules/drawers
diff options
context:
space:
mode:
Diffstat (limited to 'modules/drawers')
-rw-r--r--modules/drawers/Drawers.qml1
-rw-r--r--modules/drawers/Panels.qml5
2 files changed, 4 insertions, 2 deletions
diff --git a/modules/drawers/Drawers.qml b/modules/drawers/Drawers.qml
index 10cd86b..27088a4 100644
--- a/modules/drawers/Drawers.qml
+++ b/modules/drawers/Drawers.qml
@@ -135,6 +135,7 @@ Variants {
id: bar
screen: scope.modelData
+ visibilities: visibilities
popouts: panels.popouts
}
}
diff --git a/modules/drawers/Panels.qml b/modules/drawers/Panels.qml
index 5b2229c..909fc9f 100644
--- a/modules/drawers/Panels.qml
+++ b/modules/drawers/Panels.qml
@@ -27,8 +27,6 @@ Item {
anchors.margins: Config.border.thickness
anchors.leftMargin: bar.implicitWidth
- Component.onCompleted: Visibilities.panels[screen] = this
-
Osd.Wrapper {
id: osd
@@ -44,6 +42,9 @@ Item {
Notifications.Wrapper {
id: notifications
+ visibilities: root.visibilities
+ panel: root
+
anchors.top: parent.top
anchors.right: parent.right
}