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

Julien Cristau jcristau at debian.org
Mon May 30 10:09:34 UTC 2016


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?

Cheers,
Julien


More information about the xorg-devel mailing list