From de3d3c15a5e03cc71292ee917b15736e07c1287b Mon Sep 17 00:00:00 2001 From: "Jasper St. Pierre" Date: Tue, 19 Feb 2013 21:06:33 -0500 Subject: [PATCH] layout: Don't bother updating the regions in the greeter The greeter is always full-screen, so this should never matter. https://bugzilla.gnome.org/show_bug.cgi?id=694227 --- js/ui/layout.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/js/ui/layout.js b/js/ui/layout.js index f3cf728f1..f99085311 100644 --- a/js/ui/layout.js +++ b/js/ui/layout.js @@ -829,6 +829,9 @@ const LayoutManager = new Lang.Class({ }, _queueUpdateRegions: function() { + if (Main.sessionMode.isGreeter) + return; + if (!this._updateRegionIdle && !this._freezeUpdateCount) this._updateRegionIdle = Mainloop.idle_add(Lang.bind(this, this._updateRegions), Meta.PRIORITY_BEFORE_REDRAW);