widgets/notifications: Fix background clicking being on top of notifications

This commit is contained in:
Devin Lin 2022-04-08 17:02:25 -04:00
parent 635f86e02f
commit 55efc9165e

View file

@ -124,9 +124,11 @@ Item {
criteria: ViewSection.FullString criteria: ViewSection.FullString
} }
// implement background clicking signal
MouseArea { MouseArea {
anchors.fill: parent anchors.fill: parent
onClicked: root.backgroundClicked() onClicked: root.backgroundClicked()
z: -1 // ensure that this is below notification items so we don't steal button clicks
} }
PlasmaExtras.PlaceholderMessage { PlasmaExtras.PlaceholderMessage {