[gnome-shell] Overview: clip contents to the allocation
- From: Giovanni Campagna <gcampagna src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] Overview: clip contents to the allocation
- Date: Sun, 17 Feb 2013 21:39:06 +0000 (UTC)
commit ec61004622878924a1c613f674282cc0c9d9392d
Author: Giovanni Campagna <gcampagna src gnome org>
Date: Sun Feb 17 22:34:36 2013 +0100
Overview: clip contents to the allocation
If they're not clipped, overview controls can leak to secondary monitors
while animating.
js/ui/overview.js | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/js/ui/overview.js b/js/ui/overview.js
index d578734..6c5d593 100644
--- a/js/ui/overview.js
+++ b/js/ui/overview.js
@@ -142,7 +142,8 @@ const Overview = new Lang.Class({
vertical: true });
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._buttonPressId = 0;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]