[PATCH] libinput-seat: Don't regard no input devices as failure

Daniel Stone daniel at fooishbar.org
Tue Dec 30 09:19:45 PST 2014


On 29 December 2014 at 00:03, Peter Hutterer <peter.hutterer at who-t.net>

> On Sun, Dec 28, 2014 at 11:25:16PM +0100, Sjoerd Simons wrote:
> > The reason for not having any input devices could actually be that there
> > are no input devices attached, imagine that. Mention that cause in the
> > warning and no longer return an error.
> >
> > This fixes starting weston on boards with no input devices attached.
> >
> > Signed-off-by: Sjoerd Simons <sjoerd.simons at collabora.co.uk>
> Reviewed-by: Peter Hutterer <peter.hutterer at who-t.net>
> though I'd use "available" over "attached" which is less ambiguous in
> a multi-seat scenario.

It'd be nice to distinguish between 'devices are available but could not be
opened', and no devices whatsoever. In either case, we made Xorg require an
option (AllowEmptyInput) to start with no devices, and I guess it could be
nice to do the same for weston-launch.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/wayland-devel/attachments/20141230/8a89b327/attachment.html>

More information about the wayland-devel mailing list