From 1e9b170d8793f408af8978874543d57c88584e12 Mon Sep 17 00:00:00 2001 From: Georges Basile Stavracas Neto Date: Tue, 9 Jun 2020 14:36:21 -0300 Subject: [PATCH] background: Adapt to MetaBackgroundContent The properties are now part of MetaBackgroundContent, so set the properties there instead. https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1309 --- js/ui/background.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/js/ui/background.js b/js/ui/background.js index ddae0de87..b7bf2b1a0 100644 --- a/js/ui/background.js +++ b/js/ui/background.js @@ -512,8 +512,8 @@ var SystemBackground = GObject.registerClass({ super._init({ meta_display: global.display, monitor: 0, - background: _systemBackground, }); + this.content.background = _systemBackground; let id = GLib.idle_add(GLib.PRIORITY_DEFAULT, () => { this.emit('loaded'); @@ -738,6 +738,8 @@ var BackgroundManager = class BackgroundManager { let backgroundActor = new Meta.BackgroundActor({ meta_display: global.display, monitor: this._monitorIndex, + }); + backgroundActor.content.set({ background, vignette: this._vignette, vignette_sharpness: 0.5,