From f146b01e3e6692db1ef64dedfbd8d8528aa4d7d9 Mon Sep 17 00:00:00 2001 From: Giovanni Campagna Date: Sat, 2 Mar 2013 00:16:34 +0100 Subject: [PATCH] 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 file changed, 3 insertions(+), 3 deletions(-) diff --git a/js/ui/overview.js b/js/ui/overview.js index 485a34279..3ee87fa0b 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();