layout: Don't unnecessarily go through Main for a property
We *are* Main.layoutManager, here. https://bugzilla.gnome.org/show_bug.cgi?id=682429
This commit is contained in:
parent
3fafe0da07
commit
2154a22c90
@ -314,7 +314,7 @@ const LayoutManager = new Lang.Class({
|
||||
|
||||
get currentMonitor() {
|
||||
let index = global.screen.get_current_monitor();
|
||||
return Main.layoutManager.monitors[index];
|
||||
return this.monitors[index];
|
||||
},
|
||||
|
||||
_startupAnimation: function() {
|
||||
|
Loading…
Reference in New Issue
Block a user