main, LoginManager: Call GDM's RegisterSession()

So that it can know if we started up properly and use that to (e.g.)
kill its greeter.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/570
This commit is contained in:
Iain Lane
2019-05-02 10:49:12 +01:00
parent 76dc77f617
commit 0e37cd2ec9
2 changed files with 24 additions and 0 deletions

View File

@ -250,6 +250,8 @@ function _initializeUI() {
});
}
LoginManager.registerSessionWithGDM();
let perfModuleName = GLib.getenv("SHELL_PERF_MODULE");
if (perfModuleName) {
let perfOutput = GLib.getenv("SHELL_PERF_OUTPUT");