831bd07b0d
If monitor-changed fires at startup, it will destroy all of the backgrounds, but since this._isStartup is true, won't recreate any of them. Additionally, since _bgManagers is indexed by monitor index, if the primary index is not 0, it could become a sparse array (e.g. [undefined, undefined, primaryBackground]), and our for loop will crash trying to access properties of undefined. Fix both of these issues by always creating background managers for every monitor, hiding them on startup but only showing them after the startup animation is complete. One thing we need to watch out for is that while LayoutManager is constructing, Main.uiGroup / Main.layoutManager will be undefined, so addBackgroundMenu will fail. Fix this by passing down the uiGroup to the background menu code. https://bugzilla.gnome.org/show_bug.cgi?id=709313 |
||
---|---|---|
.. | ||
extensionPrefs | ||
gdm | ||
misc | ||
perf | ||
ui | ||
js-resources.gresource.xml | ||
Makefile.am |