background: Fix the check for spanning backgrounds
this._monitorIndex does not exist, and neither does MetaBackground.monitor_index... https://bugzilla.gnome.org/show_bug.cgi?id=719803
This commit is contained in:
parent
ec62e49001
commit
04ea95049a
@ -222,7 +222,7 @@ const BackgroundCache = new Lang.Class({
|
||||
continue;
|
||||
|
||||
if (params.style == GDesktopEnums.BackgroundStyle.SPANNED &&
|
||||
this._images[i].monitor_index != this._monitorIndex)
|
||||
this._images[i].monitor != params.monitorIndex)
|
||||
continue;
|
||||
|
||||
candidateContent = this._images[i];
|
||||
|
Loading…
Reference in New Issue
Block a user