[PATCH] (updated) dix: Enable core devices in InitCoreDevices already.

Peter Hutterer peter.hutterer at who-t.net
Sun Nov 23 19:58:46 PST 2008


On Fri, Nov 21, 2008 at 11:33:21AM -0500, Adam Jackson wrote:
> On Fri, 2008-11-21 at 15:13 +1000, Peter Hutterer wrote:
> 
> > diff --git a/dix/main.c b/dix/main.c
> > index 7bd91e0..ee2e10d 100644
> > --- a/dix/main.c
> > +++ b/dix/main.c
> > @@ -361,8 +361,7 @@ int main(int argc, char *argv[], char *envp[])
> >  
> >          InitCoreDevices();
> >  	InitInput(argc, argv);
> > -	if (InitAndStartDevices() != Success)
> > -	    FatalError("failed to initialize core devices");
> > +	InitAndStartDevices();
> >  
> >  	dixSaveScreens(serverClient, SCREEN_SAVER_FORCER, ScreenSaverReset);
> 
> If we're ignoring the return from IASD, might as well change it to
> return void.

amended and pushed. thanks.

Cheers,
  Peter



More information about the xorg mailing list