[gdm] Don't wait 1/2sec before connecting to display



commit 2ca2209c18b6659c8282039732bb62436779db55
Author: Ray Strode <rstrode redhat com>
Date:   Thu Jul 16 22:47:53 2009 -0400

    Don't wait 1/2sec before connecting to display
    
    It told us it's ready so let's not waste time.
    
    See bug http://bugzilla.gnome.org/show_bug.cgi?id=570615

 daemon/gdm-simple-slave.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/daemon/gdm-simple-slave.c b/daemon/gdm-simple-slave.c
index 948886f..72efdfd 100644
--- a/daemon/gdm-simple-slave.c
+++ b/daemon/gdm-simple-slave.c
@@ -1033,7 +1033,7 @@ static void
 on_server_ready (GdmServer      *server,
                  GdmSimpleSlave *slave)
 {
-        g_timeout_add (500, (GSourceFunc)idle_connect_to_display, slave);
+        g_idle_add ((GSourceFunc)idle_connect_to_display, slave);
 }
 
 static void



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]