diff --git a/quickshell/Modules/WallpaperBackground.qml b/quickshell/Modules/WallpaperBackground.qml index 51898c09..759b3185 100644 --- a/quickshell/Modules/WallpaperBackground.qml +++ b/quickshell/Modules/WallpaperBackground.qml @@ -216,8 +216,9 @@ Variants { } readonly property int maxTextureSize: 8192 - property int textureWidth: Math.min(modelData.width, maxTextureSize) - property int textureHeight: Math.min(modelData.height, maxTextureSize) + property real screenScale: CompositorService.getScreenScale(modelData) + property int textureWidth: Math.min(Math.round(modelData.width * screenScale), maxTextureSize) + property int textureHeight: Math.min(Math.round(modelData.height * screenScale), maxTextureSize) Image { id: currentWallpaper