summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/background/Background.qml11
1 files changed, 7 insertions, 4 deletions
diff --git a/modules/background/Background.qml b/modules/background/Background.qml
index 1796a15..47b5bde 100644
--- a/modules/background/Background.qml
+++ b/modules/background/Background.qml
@@ -27,16 +27,19 @@ Loader {
color: Config.background.wallpaperEnabled ? "black" : "transparent"
surfaceFormat.opaque: false
- anchors.top: true
- anchors.bottom: true
- anchors.left: true
- anchors.right: true
+ WlrLayershell.anchors {
+ top: true
+ bottom: true
+ left: true
+ right: true
+ }
Image {
id: wallpaper
anchors.fill: parent
asynchronous: true
+ fillMode: Image.PreserveAspectCrop
Loader {
id: wallpaper