From 04ea95049a0e35825a502bb1dc2ff65e3cfe23b2 Mon Sep 17 00:00:00 2001 From: "Jasper St. Pierre" Date: Tue, 3 Dec 2013 15:41:42 -0500 Subject: [PATCH] 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 --- js/ui/background.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/ui/background.js b/js/ui/background.js index c50ae29a0..1f9e49490 100644 --- a/js/ui/background.js +++ b/js/ui/background.js @@ -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];