[gnome-shell] Ensure dash is raised over workspaces



commit 43d737c663dbea43bd558189fe43b65f90b70bae
Author: Colin Walters <walters verbum org>
Date:   Wed Aug 12 15:09:56 2009 -0400

    Ensure dash is raised over workspaces
    
    Having the workspace actor on top of the dash broke drag and drop.

 js/ui/overview.js |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/js/ui/overview.js b/js/ui/overview.js
index c2ce608..9d42ed1 100644
--- a/js/ui/overview.js
+++ b/js/ui/overview.js
@@ -275,6 +275,11 @@ Overview.prototype = {
                                                      addButtonSize, addButtonX, addButtonY);
         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,
         // hiding the group holding them while the Overview is displayed greatly
         // increases performance of the Overview especially when there are many



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]