[PATCH 1/3] Move config_init() after CreateWellKnownSockets() and InitCoreDevices()

Julien Cristau jcristau at debian.org
Sun Dec 6 11:27:06 PST 2009


config_init() can now add devices directly instead of scheduling a
timer.

Signed-off-by: Julien Cristau <jcristau at debian.org>
Tested-by: Peter Hutterer <peter.hutterer at who-t.net>
---
 dix/main.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dix/main.c b/dix/main.c
index f96245a..2117a1e 100644
--- a/dix/main.c
+++ b/dix/main.c
@@ -168,7 +168,6 @@ int main(int argc, char *argv[], char *envp[])
 	InitBlockAndWakeupHandlers();
 	/* Perform any operating system dependent initializations you'd like */
 	OsInit();
-        config_init();
 	if(serverGeneration == 1)
 	{
 	    CreateWellKnownSockets();
@@ -254,6 +253,7 @@ int main(int argc, char *argv[], char *envp[])
 	    InitRootWindow(WindowTable[i]);
 
         InitCoreDevices();
+        config_init();
 	InitInput(argc, argv);
 	InitAndStartDevices();
 
-- 
1.6.5



More information about the xorg-devel mailing list