[gnome-shell] Fix dash sliding animation with multiple monitors



commit f146b01e3e6692db1ef64dedfbd8d8528aa4d7d9
Author: Giovanni Campagna <gcampagna src gnome org>
Date:   Sat Mar 2 00:16:34 2013 +0100

    Fix dash sliding animation with multiple monitors
    
    We used to clip the overview group to prevent the dash from sliding into
    neighbor monitors, but now it moved to the groupStack, so we must move
    the clip too.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=694970

 js/ui/overview.js |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/js/ui/overview.js b/js/ui/overview.js
index 485a342..3ee87fa 100644
--- a/js/ui/overview.js
+++ b/js/ui/overview.js
@@ -130,11 +130,11 @@ const Overview = new Lang.Class({
         this._overview._delegate = this;
 
         this._groupStack = new St.Widget({ layout_manager: new Clutter.BinLayout(),
-                                           x_expand: true, y_expand: true });
+                                           x_expand: true, y_expand: true,
+                                           clip_to_allocation: true });
         this._group = new St.BoxLayout({ name: 'overview-group',
                                          reactive: true,
-                                         x_expand: true, y_expand: true,
-                                         clip_to_allocation: true });
+                                         x_expand: true, y_expand: true });
         this._groupStack.add_actor(this._group);
 
         this._backgroundGroup = new Meta.BackgroundGroup();


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