[gnome-shell] Magnifier: clip the UI group clone to the allocation
- From: Giovanni Campagna <gcampagna src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] Magnifier: clip the UI group clone to the allocation
- Date: Thu, 13 Feb 2014 18:44:03 +0000 (UTC)
commit 793c6c2f7beb95523a821f4bec3a0522be4535c5
Author: Giovanni Campagna <gcampagna src gnome org>
Date: Thu Feb 13 17:25:42 2014 +0100
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 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/js/ui/magnifier.js b/js/ui/magnifier.js
index 5cc001e..6493aff 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]