From 793c6c2f7beb95523a821f4bec3a0522be4535c5 Mon Sep 17 00:00:00 2001 From: Giovanni Campagna Date: Thu, 13 Feb 2014 17:25:42 +0100 Subject: [PATCH] Magnifier: clip the UI group clone to the allocation Without clipping, we show parts of the message tray and workspace thumbnails that are normally clipped by the screen. https://bugzilla.gnome.org/show_bug.cgi?id=724305 --- js/ui/magnifier.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/js/ui/magnifier.js b/js/ui/magnifier.js index 5cc001ea9..6493aff70 100644 --- a/js/ui/magnifier.js +++ b/js/ui/magnifier.js @@ -1208,7 +1208,8 @@ const ZoomRegion = new Lang.Class({ // Clone the group that contains all of UI on the screen. This is the // chrome, the windows, etc. - this._uiGroupClone = new Clutter.Clone({ source: Main.uiGroup }); + this._uiGroupClone = new Clutter.Clone({ source: Main.uiGroup, + clip_to_allocation: true }); mainGroup.add_actor(this._uiGroupClone); // Add either the given mouseSourceActor to the ZoomRegion, or a clone of