Ensure dash is raised over workspaces

Having the workspace actor on top of the dash broke drag and drop.
This commit is contained in:
Colin Walters 2009-08-12 15:09:56 -04:00
parent 789e24b59a
commit 43d737c663

View File

@ -275,6 +275,11 @@ Overview.prototype = {
addButtonSize, addButtonX, addButtonY); addButtonSize, addButtonX, addButtonY);
this._group.add_actor(this._workspaces.actor); this._group.add_actor(this._workspaces.actor);
// The workspaces actor is as big as the screen, so we have to raise the dash above it
// for drag and drop to work. In the future we should fix the workspaces to not
// be as big as the screen.
this._dash.actor.raise(this._workspaces.actor);
// All the the actors in the window group are completely obscured, // All the the actors in the window group are completely obscured,
// hiding the group holding them while the Overview is displayed greatly // hiding the group holding them while the Overview is displayed greatly
// increases performance of the Overview especially when there are many // increases performance of the Overview especially when there are many