Overview: clip contents to the allocation

If they're not clipped, overview controls can leak to secondary monitors
while animating.
This commit is contained in:
Giovanni Campagna 2013-02-17 22:34:36 +01:00
parent ae93d258a5
commit ec61004622

View File

@ -142,7 +142,8 @@ const Overview = new Lang.Class({
vertical: true }); vertical: true });
this._overview._delegate = this; this._overview._delegate = this;
this._group = new St.BoxLayout({ name: 'overview-group' }); this._group = new St.BoxLayout({ name: 'overview-group',
clip_to_allocation: true });
this._capturedEventId = 0; this._capturedEventId = 0;
this._buttonPressId = 0; this._buttonPressId = 0;