tools/record: switch record over to using epoll
authorPeter Hutterer <peter.hutterer@who-t.net>
Thu, 18 Feb 2021 07:10:15 +0000 (17:10 +1000)
committerPeter Hutterer <peter.hutterer@who-t.net>
Tue, 23 Feb 2021 00:56:53 +0000 (10:56 +1000)
commit4a7dece88cde97537bddbd9b580c470433738cf0
tree99d1e59b2c390111a8dee3705bfdadec59bd725c
parentd8b64d413dabf00d404b880d4ef559e2c4755133
tools/record: switch record over to using epoll

Using poll means more difficult fd management, epoll (together with am
modified version of the libinput_sources) makes this a lot easier by simply
using dispatch.

This means we are no longer reliant on a specific file descriptor order in the
poll array.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
tools/libinput-record.c