mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-18 07:34:54 +00:00
perf: fix wallpaper style for overridden background
The code that loads SHELL_BACKGROUND_IMAGE, which is used to load the performance background was loading it in WALLPAPER mode, not ZOOM mode. Zoom mode is what we use for the actual GNOME defaultiwallpaper and what we want to test: the background will be scaled except when the resolution matches the 2560x1440 default backgrounds. https://bugzilla.gnome.org/show_bug.cgi?id=735385
This commit is contained in:
parent
0011755b41
commit
c93767768c
1 changed files with 1 additions and 1 deletions
|
|
@ -587,7 +587,7 @@ const Background = new Lang.Class({
|
|||
let filename;
|
||||
if (this._overrideImage != null) {
|
||||
filename = this._overrideImage;
|
||||
this._style = GDesktopEnums.BackgroundStyle.WALLPAPER; // Hardcode
|
||||
this._style = GDesktopEnums.BackgroundStyle.ZOOM; // Hardcode
|
||||
} else {
|
||||
this._style = this._settings.get_enum(BACKGROUND_STYLE_KEY);
|
||||
if (this._style == GDesktopEnums.BackgroundStyle.NONE) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue