From 4ffa06945ac42140197e172a4bad2653f770b18a Mon Sep 17 00:00:00 2001 From: bbedward Date: Sat, 13 Dec 2025 08:43:46 -0500 Subject: [PATCH] wallpaper: scale texture to physical pixels - reverts a regression --- quickshell/Modules/WallpaperBackground.qml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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