lockscreen: Use temporary fix for black background

This commit is contained in:
Devin Lin 2022-07-11 09:37:56 -04:00
parent 664c8933d7
commit 75e5b79103

View file

@ -8,6 +8,7 @@
import QtQuick 2.12
import QtQuick.Controls 2.15
import QtQuick.Layouts 1.15
import QtGraphicalEffects 1.12
import org.kde.plasma.core 2.0 as PlasmaCore
import org.kde.notificationmanager 1.1 as Notifications
@ -42,6 +43,18 @@ PlasmaCore.ColorScope {
passwordBar.textField.forceActiveFocus();
}
// HACK: kscreenlocker doesn't draw the wallpaper (shows up as black)
Loader {
anchors.fill: parent
asynchronous: true
sourceComponent: FastBlur {
cached: true
radius: 0
source: wallpaper
anchors.fill: parent
}
}
// wallpaper blur
Loader {
anchors.fill: parent