Commit d870ed4d authored by Ray Strode's avatar Ray Strode

manager: quit plymouth later

We don't want to quit plymouth until the display is managed,
so there's no chance of flicker.

https://bugzilla.gnome.org/show_bug.cgi?id=745234
parent 678ac965
......@@ -1549,12 +1549,6 @@ on_display_status_changed (GdmDisplay *display,
switch (status) {
case GDM_DISPLAY_PREPARED:
case GDM_DISPLAY_MANAGED:
#ifdef WITH_PLYMOUTH
if (quit_plymouth) {
plymouth_quit_with_transition ();
manager->priv->plymouth_is_running = FALSE;
}
#endif
if ((display_number == -1 && status == GDM_DISPLAY_PREPARED) ||
(display_number != -1 && status == GDM_DISPLAY_MANAGED)) {
char *session_class;
......@@ -1568,6 +1562,12 @@ on_display_status_changed (GdmDisplay *display,
}
if (status == GDM_DISPLAY_MANAGED) {
#ifdef WITH_PLYMOUTH
if (quit_plymouth) {
plymouth_quit_with_transition ();
manager->priv->plymouth_is_running = FALSE;
}
#endif
maybe_start_pending_initial_login (manager, display);
}
break;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment