summaryrefslogtreecommitdiff
path: root/daemon/gdm-manager.c
diff options
context:
space:
mode:
authorRay Strode <rstrode@redhat.com>2015-03-19 22:38:15 -0400
committerRay Strode <rstrode@redhat.com>2015-03-19 22:42:34 -0400
commit862ba1bd67ec85b5784d3e8809a405f1845b1c43 (patch)
tree4c6ab47eda7adbae08424fc3cf91a501962bc793 /daemon/gdm-manager.c
parentf349c6c9b13775f249cbf7f5cb2f5d30af3dd00e (diff)
downloadgdm-862ba1bd67ec85b5784d3e8809a405f1845b1c43.tar.gz
manager: add hack to quit plymouth after a delay
Right now wayland sessions register with GDM before they're actually ready, so we quit plymouth too soon. Until we can fix that, this commit adds a sleep 5 hack to quit plymouth a little after registration. https://bugzilla.gnome.org/show_bug.cgi?id=746498
Diffstat (limited to 'daemon/gdm-manager.c')
-rw-r--r--daemon/gdm-manager.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/daemon/gdm-manager.c b/daemon/gdm-manager.c
index 8c36e064..e9ed29de 100644
--- a/daemon/gdm-manager.c
+++ b/daemon/gdm-manager.c
@@ -189,7 +189,7 @@ plymouth_quit_with_transition (void)
GError *error;
error = NULL;
- res = g_spawn_command_line_async ("/bin/plymouth quit --retain-splash", &error);
+ res = g_spawn_command_line_async ("sleep 2; /bin/plymouth quit --retain-splash", &error);
if (! res) {
g_warning ("Could not quit plymouth: %s", error->message);
g_error_free (error);