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;
|
continue;
|
||||||
|
|
||||||
if (params.style == GDesktopEnums.BackgroundStyle.SPANNED &&
|
if (params.style == GDesktopEnums.BackgroundStyle.SPANNED &&
|
||||||
this._images[i].monitor_index != this._monitorIndex)
|
this._images[i].monitor != params.monitorIndex)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
candidateContent = this._images[i];
|
candidateContent = this._images[i];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user