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
This commit is contained in:
parent
3db253998b
commit
de3d3c15a5
@ -829,6 +829,9 @@ const LayoutManager = new Lang.Class({
|
|||||||
},
|
},
|
||||||
|
|
||||||
_queueUpdateRegions: function() {
|
_queueUpdateRegions: function() {
|
||||||
|
if (Main.sessionMode.isGreeter)
|
||||||
|
return;
|
||||||
|
|
||||||
if (!this._updateRegionIdle && !this._freezeUpdateCount)
|
if (!this._updateRegionIdle && !this._freezeUpdateCount)
|
||||||
this._updateRegionIdle = Mainloop.idle_add(Lang.bind(this, this._updateRegions),
|
this._updateRegionIdle = Mainloop.idle_add(Lang.bind(this, this._updateRegions),
|
||||||
Meta.PRIORITY_BEFORE_REDRAW);
|
Meta.PRIORITY_BEFORE_REDRAW);
|
||||||
|
Loading…
Reference in New Issue
Block a user