diff options
author | Niclas Zeising <zeising@FreeBSD.org> | 2020-09-28 20:05:01 +0000 |
---|---|---|
committer | Niclas Zeising <zeising@FreeBSD.org> | 2020-09-28 20:05:01 +0000 |
commit | acd1ae3a870cd3476f3d16f89cac0f335f69fb9a (patch) | |
tree | 6aa7d69439a991fdd260e0d369eca05546f7b245 /x11/libinput/files/patch-src_evdev.c | |
parent | Bump portrevision for devel/evdev-proto (diff) |
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
Notes
Notes:
svn path=/head/; revision=550444
Diffstat (limited to 'x11/libinput/files/patch-src_evdev.c')
-rw-r--r-- | x11/libinput/files/patch-src_evdev.c | 8 |
1 files changed, 4 insertions, 4 deletions
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); |