[gdm] manager: quit plymouth later
- From: Ray Strode <halfline src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gdm] manager: quit plymouth later
- Date: Thu, 26 Feb 2015 17:47:35 +0000 (UTC)
commit d870ed4db67bb32f2c1e97677f50894735feef5b
Author: Ray Strode <rstrode redhat com>
Date: Thu Feb 26 10:00:21 2015 -0500
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
daemon/gdm-manager.c | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/daemon/gdm-manager.c b/daemon/gdm-manager.c
index 1408582..cfcfa03 100644
--- a/daemon/gdm-manager.c
+++ b/daemon/gdm-manager.c
@@ -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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]