From 96a80f7ba0d510bd38e90bf0f7d436018849cb9e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Fri, 19 Oct 2012 20:03:05 +0200 Subject: [PATCH] workspacesView: Fix typo We want to check for a setting, not the existence of a function. https://bugzilla.gnome.org/show_bug.cgi?id=686487 --- js/ui/workspacesView.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/ui/workspacesView.js b/js/ui/workspacesView.js index 811432758..c5c1e672e 100644 --- a/js/ui/workspacesView.js +++ b/js/ui/workspacesView.js @@ -928,7 +928,7 @@ const WorkspacesDisplay = new Lang.Class({ let monitors = Main.layoutManager.monitors; let m = 0; for (let i = 0; i < monitors.length; i++) { - if (this._workspacesOnlyOnPrimaryChanged && + if (this._workspacesOnlyOnPrimary && i != this._primaryIndex) continue;