[gnome-shell] layout: Don't bother updating the regions in the greeter
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] layout: Don't bother updating the regions in the greeter
- Date: Wed, 20 Feb 2013 16:36:41 +0000 (UTC)
commit de3d3c15a5e03cc71292ee917b15736e07c1287b
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Tue Feb 19 21:06:33 2013 -0500
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 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/js/ui/layout.js b/js/ui/layout.js
index f3cf728..f990853 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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]