From 7c6b775c27e8fab70016a2f74cbea519241eaeed Mon Sep 17 00:00:00 2001 From: Evante Garza-Licudine Date: Wed, 1 Apr 2026 13:25:42 -0700 Subject: [PATCH] respect picture-options picture-options (zoom, centered, etc) changes for desktop background were being ignored due to a hardcoded ZOOM setting --- tiling.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tiling.js b/tiling.js index 6e848421..c1b7918b 100644 --- a/tiling.js +++ b/tiling.js @@ -445,6 +445,7 @@ export class Space extends Array { this.signals.connect(gsettings, 'changed::use-default-background', this.updateBackground.bind(this)); this.signals.connect(backgroundSettings, 'changed::picture-uri', this.updateBackground.bind(this)); this.signals.connect(backgroundSettings, "changed::picture-uri-dark", this.updateBackground.bind(this)); + this.signals.connect(backgroundSettings, "changed::picture-options", this.updateBackground.bind(this)); } /** @@ -1685,7 +1686,7 @@ border-radius: ${borderWidth}px; layoutManager: Main.layoutManager, settings: backgroundSettings, file: Gio.File.new_for_commandline_arg(path), - style: GDesktopEnums.BackgroundStyle.ZOOM, + style: backgroundSettings.get_enum('picture-options'), }); this.background.content.set({