On Tue, Oct 06, 2009 at 11:26:37AM -0400, Adam Jackson wrote:
> On Tue, 2009-10-06 at 13:22 +0200, Julien Cristau wrote:
> > On Mon, Oct  5, 2009 at 14:13:39 -0400, Adam Jackson wrote:
> > > I don't think the timer should be needed for libudev.  All
> > > udev_monitor_new_from_netlink() does aside from malloc() is open a
> > > netlink socket.  If that fails you have a plethora of more serious
> > > problems already.
> > > 
> > udev_monitor_new_from_netlink is called on init, but I can't call
> > AddGeneralSocket from there, or actually add the input devices, because
> > config_init() is called too early for that.  Is there a way besides the
> > timer to schedule this to happen when the server is actually ready?
> 
> Could just move config_init() after CreateWellKnownSockets().  Which
> seems like the right thing to do anyway; servers without input devices
> are perfectly valid, but servers without sockets are not, so we should
> init sockets first.

Seems fair, yeah.

Cheers,
Daniel

Attachment: pgp2R82wH1uGk.pgp
Description: PGP signature

_______________________________________________
xorg-devel mailing list
xorg-devel@lists.x.org
http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to