Bug 92720

Summary: Use SIGIO for input events
Product: xorg Reporter: Peter Hutterer <peter.hutterer>
Component: Input/libinputAssignee: Peter Hutterer <peter.hutterer>
Status: RESOLVED FIXED QA Contact: Xorg Project Team <xorg-team>
Severity: normal    
Priority: medium CC: keithp, peter.hutterer
Version: git   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Peter Hutterer 2015-10-29 01:29:30 UTC
We don't use SIGIO right now because it does weird things to the epollfd that libinput exposes and in anyway, libinput is not designed to work inside a signal handler.
The drawback of this is that pointer movement stalls if the server is busy.

We need to find a suitable approach to run libinput in a second thread for dispatch() and pass the events through the SIGIO handler to the server.
Comment 1 Peter Hutterer 2016-10-26 05:38:20 UTC
fixed in server 1.19 with the input thread

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.