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

Peter Hutterer peter.hutterer at who-t.net
Thu Oct 15 17:24:20 PDT 2009


On Wed, Oct 14, 2009 at 10:21:11PM +0200, Julien Cristau wrote:
> 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

Tested-by: Peter Hutterer <peter.hutterer at who-t.net>


More information about the xorg-devel mailing list