[PATCH xf86-input-libinput] Switch to xf86AddEnabledDevice if we have the input thread

Peter Hutterer peter.hutterer at who-t.net
Mon May 30 20:58:30 UTC 2016


On Mon, May 30, 2016 at 12:09:34PM +0200, Julien Cristau wrote:
> On Mon, May 30, 2016 at 18:12:36 +1000, Peter Hutterer wrote:
> 
> > Pre input-thread xf86AddEnabledDevice was hooked up to the signal handler.
> > libinput never was capable of running inside a signal handler, so we had to
> > use AddEnabledDevice() instead which merely hooks to the server's select loop.
> > 
> > Now with the input thread we can use xf86AddEnabledDevice and let the server
> > decide what is best from there.
> > 
> > Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
> > ---
> > Effectively the same but the meat around it is different. More expressive
> > with HAVE_INPUT_THEAD and the ABI check instead of AC_CHECK_DECL.
> > 
> HAVE_INPUT_THREAD with an extra R?

thanks, turns out keithp and I were working on this at the same time, I've
merged his v3 now.

Cheers,
   Peter



More information about the xorg-devel mailing list