From d49db0e6a1601d7f129916550bb747bd77da9419 Mon Sep 17 00:00:00 2001 From: "Foivos S. Zakkak" Date: Sat, 18 Oct 2014 01:00:31 +0300 Subject: [PATCH] Fix error getting workspacesDisplay --- workspace-grid@mathematical.coffee.gmail.com/extension.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/workspace-grid@mathematical.coffee.gmail.com/extension.js b/workspace-grid@mathematical.coffee.gmail.com/extension.js index b83acb3..2816356 100644 --- a/workspace-grid@mathematical.coffee.gmail.com/extension.js +++ b/workspace-grid@mathematical.coffee.gmail.com/extension.js @@ -545,7 +545,9 @@ function unoverrideKeybindingsAndPopup() { // GNOME 3.2 & 3.4: Main.overview._workspacesDisplay // GNOME 3.6, 3.8: Main.overview._viewSelector._workspacesDisplay function _getWorkspaceDisplay() { - return Main.overview._workspacesDisplay || Main.overview._viewSelector._workspacesDisplay; + return Main.overview._workspacesDisplay || + Main.overview.viewSelector._workspacesDisplay || + Main.overview._viewSelector._workspacesDisplay; } /****************** @@ -1205,7 +1207,7 @@ function modifyNumWorkspaces() { * To *actually* increase/decrease the number of workspaces (to fire * notify::n-workspaces), we must use global.screen.append_new_workspace and * global.screen.remove_workspace. - * + * * We could just set org.gnome.shell.overrides.dynamic-workspaces to false * but then we can't drag and drop windows between workspaces (supposedly a * GNOME 3.4 bug, see the Frippery Static Workspaces extension. Can confirm