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

Pekka Paalanen ppaalanen at gmail.com
Fri Jan 2 05:33:52 PST 2015


On Fri, 2 Jan 2015 13:07:57 +0000
Daniel Stone <daniel at fooishbar.org> wrote:

> Hi,
> 
> On 2 January 2015 at 12:24, Sjoerd Simons <sjoerd.simons at collabora.co.uk>
> wrote:
> 
> > Under the assumption that weston-launch is a tool for developers to
> > start weston, then sure fine. If weston-launch gets used to autostart
> > weston on bootup (as i'm doing in some cases), that behaviour is
> > horrible.
> >
> 
> It's not a developer tool. If you're launching weston directly, either
> you've done something 'clever' with DRM/input device permissions, or you're
> running as root. I'm not 100% sure if running weston directly even works.

Or using a logind (not necessarily systemd-logind) with suitable
features. ;-)

I don't have it myself here, but I think that is intended to work too,
there's code for it in src/logind-util.c. That is, for running 'weston'
as a normal user.


Cheers,
pq


More information about the wayland-devel mailing list