[gnome-shell] magnifier: Don't set the size of the uiGroup
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] magnifier: Don't set the size of the uiGroup
- Date: Fri, 31 Aug 2012 19:44:27 +0000 (UTC)
commit 54e5ffcac1c6c659c79ebd12b256da4994f6bce3
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Thu Aug 30 18:01:49 2012 -0300
magnifier: Don't set the size of the uiGroup
The magnifier shouldn't mess with global properties like this.
https://bugzilla.gnome.org/show_bug.cgi?id=683073
js/ui/magnifier.js | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/js/ui/magnifier.js b/js/ui/magnifier.js
index 91263b7..99c1dd4 100644
--- a/js/ui/magnifier.js
+++ b/js/ui/magnifier.js
@@ -1090,7 +1090,6 @@ const ZoomRegion = new Lang.Class({
// chrome, the windows, etc.
this._uiGroupClone = new Clutter.Clone({ source: Main.uiGroup });
mainGroup.add_actor(this._uiGroupClone);
- Main.uiGroup.set_size(global.screen_width, global.screen_height);
this._background.set_size(global.screen_width, global.screen_height);
// Add either the given mouseSourceActor to the ZoomRegion, or a clone of
@@ -1353,7 +1352,6 @@ const ZoomRegion = new Lang.Class({
if (!this.isActive())
return;
- Main.uiGroup.set_size(global.screen_width, global.screen_height);
this._background.set_size(global.screen_width, global.screen_height);
if (this._screenPosition == GDesktopEnums.MagnifierScreenPosition.NONE)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]