From 54e5ffcac1c6c659c79ebd12b256da4994f6bce3 Mon Sep 17 00:00:00 2001 From: "Jasper St. Pierre" Date: Thu, 30 Aug 2012 18:01:49 -0300 Subject: [PATCH] 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 file changed, 2 deletions(-) diff --git a/js/ui/magnifier.js b/js/ui/magnifier.js index 91263b71d..99c1dd46c 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)