diff --git a/Modules/Resources.qml b/Modules/Resources.qml index f63834c..b9048d9 100644 --- a/Modules/Resources.qml +++ b/Modules/Resources.qml @@ -92,8 +92,6 @@ Item { Loader { id: popoutLoader - z: 0 - anchors.left: parent.left sourceComponent: null } diff --git a/Modules/TrackedNotification.qml b/Modules/TrackedNotification.qml index 323d427..4ab05d2 100644 --- a/Modules/TrackedNotification.qml +++ b/Modules/TrackedNotification.qml @@ -19,6 +19,7 @@ PanelWindow { left: true bottom: true } + mask: Region { regions: root.notifRegions } exclusionMode: ExclusionMode.Ignore WlrLayershell.layer: WlrLayer.Overlay @@ -35,6 +36,10 @@ PanelWindow { id: notifListView model: ScriptModel { values: NotifServer.list.filter( n => n.popup ) + onValuesChanged: { + if ( values.length === 0 ) + root.notifRegions = []; + } } anchors.top: parent.top anchors.bottom: parent.bottom