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.

- ajax

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
xorg-devel mailing list
[email protected]
http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to