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

Julien Cristau jcristau at debian.org
Wed Oct 14 13:21:11 PDT 2009


config_init() can now add devices directly instead of scheduling a
timer.
---
 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.4.3



More information about the xorg-devel mailing list