WorkspacesView: don't use clutter_actor_reparent()
It's deprecated and in this case is not needed because at that point the actor hasn't been parented yet. https://bugzilla.gnome.org/show_bug.cgi?id=688234
This commit is contained in:
parent
944762ac83
commit
5487f8cf93
@ -69,7 +69,7 @@ const WorkspacesView = new Lang.Class({
|
||||
|
||||
// Add workspace actors
|
||||
for (let w = 0; w < global.screen.n_workspaces; w++)
|
||||
this._workspaces[w].actor.reparent(this.actor);
|
||||
this.actor.add_actor(this._workspaces[w].actor);
|
||||
this._workspaces[activeWorkspaceIndex].actor.raise_top();
|
||||
|
||||
this._extraWorkspaces = [];
|
||||
|
Loading…
Reference in New Issue
Block a user