From acd1ae3a870cd3476f3d16f89cac0f335f69fb9a Mon Sep 17 00:00:00 2001 From: Niclas Zeising Date: Mon, 28 Sep 2020 20:05:01 +0000 Subject: x11/libinput: Update to 1.6.1 Update x11/libinput to 1.6.1 Changelogs: https://lists.freedesktop.org/archives/wayland-devel/2020-August/041578.html https://lists.freedesktop.org/archives/wayland-devel/2020-August/041590.html PR: 249553 Reported by: jbeich (similar patch) Obtained from: FreeBSD Graphics Team git repo https://github.com/FreeBSDDesktop/freebsd-ports/tree/feature/input --- x11/libinput/files/patch-src_evdev.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'x11/libinput/files/patch-src_evdev.c') diff --git a/x11/libinput/files/patch-src_evdev.c b/x11/libinput/files/patch-src_evdev.c index c2ceddaed68c..df8fe4fd434a 100644 --- a/x11/libinput/files/patch-src_evdev.c +++ b/x11/libinput/files/patch-src_evdev.c @@ -6,9 +6,9 @@ libinput reopens devices just to check path equality. The udev_devices from reopening do have the right properties, so we just use them instead of the original (enumerated) ones. ---- src/evdev.c.orig 2018-12-18 05:06:18 UTC +--- src/evdev.c.orig 2020-07-15 01:54:15 UTC +++ src/evdev.c -@@ -905,7 +905,7 @@ evdev_sync_device(struct evdev_device *device) +@@ -1015,7 +1015,7 @@ evdev_sync_device(struct evdev_device *device) evdev_device_dispatch_one(device, &ev); } while (rc == LIBEVDEV_READ_STATUS_SYNC); @@ -16,8 +16,8 @@ so we just use them instead of the original (enumerated) ones. + return (rc == -EAGAIN || rc == -EINVAL)? 0 : rc; } - static void -@@ -943,6 +943,17 @@ evdev_device_dispatch(void *data) + static inline void +@@ -1083,6 +1083,17 @@ evdev_device_dispatch(void *data) if (rc != -EAGAIN && rc != -EINTR) { libinput_remove_source(libinput, device->source); -- cgit v1.2.3