[gnome-shell] background: Fix the check for spanning backgrounds
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] background: Fix the check for spanning backgrounds
- Date: Tue, 3 Dec 2013 23:38:16 +0000 (UTC)
commit 04ea95049a0e35825a502bb1dc2ff65e3cfe23b2
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Tue Dec 3 15:41:42 2013 -0500
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 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/js/ui/background.js b/js/ui/background.js
index c50ae29..1f9e494 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];
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]