mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2026-02-16 03:40:30 +01:00
Remove the workaround for libevdev pre 1.3
1.3 has been out since Sep 2014, that's enough time. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
e4a2ce9f03
commit
1e0736daf3
2 changed files with 1 additions and 5 deletions
|
|
@ -71,7 +71,7 @@ AC_CHECK_DECL(static_assert, [],
|
|||
PKG_PROG_PKG_CONFIG()
|
||||
PKG_CHECK_MODULES(MTDEV, [mtdev >= 1.1.0])
|
||||
PKG_CHECK_MODULES(LIBUDEV, [libudev])
|
||||
PKG_CHECK_MODULES(LIBEVDEV, [libevdev >= 0.4])
|
||||
PKG_CHECK_MODULES(LIBEVDEV, [libevdev >= 1.3])
|
||||
|
||||
AC_CHECK_LIB([m], [atan2])
|
||||
AC_CHECK_LIB([rt], [clock_gettime])
|
||||
|
|
|
|||
|
|
@ -2382,10 +2382,6 @@ litest_create_uinput(const char *name,
|
|||
rc = libevdev_uinput_create_from_device(dev,
|
||||
LIBEVDEV_UINPUT_OPEN_MANAGED,
|
||||
&uinput);
|
||||
/* workaround for a bug in libevdev pre-1.3
|
||||
http://cgit.freedesktop.org/libevdev/commit/?id=debe9b030c8069cdf78307888ef3b65830b25122 */
|
||||
if (rc == -EBADF)
|
||||
rc = -EACCES;
|
||||
litest_assert_msg(rc == 0, "Failed to create uinput device: %s", strerror(-rc));
|
||||
|
||||
libevdev_free(dev);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue