From 0ee977080da3304061e26c26880fd598de53048d 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 edb636b09..da3b0cd60 100644 --- a/js/ui/workspacesView.js +++ b/js/ui/workspacesView.js @@ -932,7 +932,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;