Fix missing workspaceview on g-s ControlsLayout allocation

https://gitlab.gnome.org/GNOME/gnome-shell/issues/1065
This commit is contained in:
Charles Gagnon
2019-04-02 23:17:17 -04:00
parent 9600a548ff
commit 77ad35fe85
2 changed files with 2 additions and 8 deletions

View File

@@ -372,9 +372,10 @@ var dtpPanelManager = Utils.defineClass({
}
this._workspacesViews.push(view);
Main.layoutManager.overviewGroup.add_actor(view.actor);
}
this._workspacesViews.forEach(wv => Main.layoutManager.overviewGroup.add_actor(wv.actor));
this._updateWorkspacesFullGeometry();
this._updateWorkspacesActualGeometry();
},

View File

@@ -499,13 +499,6 @@ var taskbar = Utils.defineClass({
.forEach(fav => fav._container[cssFuncName]('favorite'));
},
_appIdListToHash: function(apps) {
let ids = {};
for (let i = 0; i < apps.length; i++)
ids[apps[i].get_id()] = apps[i];
return ids;
},
handleIsolatedWorkspaceSwitch: function() {
if (this.isGroupApps) {
this._queueRedisplay();