xorg-x11-drv-libinput 0.27.0

This commit is contained in:
Peter Hutterer 2018-03-20 11:44:38 +10:00
parent fb5b4b148a
commit 31d1fa24a0
4 changed files with 21 additions and 18 deletions

1
.gitignore vendored
View File

@ -1,3 +1,4 @@
xf86-input-libinput-0.25.0.tar.bz2
/xf86-input-libinput-0.25.1.tar.bz2
/xf86-input-libinput-0.26.0.tar.bz2
/xf86-input-libinput-0.27.0.tar.bz2

View File

@ -1,4 +1,4 @@
From 013e55c3a89fd33e5071059bb321a6fb5c8c84a4 Mon Sep 17 00:00:00 2001
From 41d20d35c1587f3de35acf47f926c97a30680978 Mon Sep 17 00:00:00 2001
From: Peter Hutterer <peter.hutterer@who-t.net>
Date: Thu, 18 May 2017 14:45:18 +1000
Subject: [PATCH xf86-input-libinput] Add a DPIScaleFactor option as temporary
@ -6,19 +6,19 @@ Subject: [PATCH xf86-input-libinput] Add a DPIScaleFactor option as temporary
https://bugzilla.redhat.com/show_bug.cgi?id=1413306
---
man/libinput.man | 22 ++++++++++++++++++++++
man/libinput.man | 21 +++++++++++++++++++++
src/xf86libinput.c | 26 ++++++++++++++++++++++++++
2 files changed, 48 insertions(+)
2 files changed, 47 insertions(+)
diff --git a/man/libinput.man b/man/libinput.man
index 2725390..bd09ffe 100644
index ec0f439..bdbdb37 100644
--- a/man/libinput.man
+++ b/man/libinput.man
@@ -381,6 +381,28 @@ it takes left-handed-ness into account.
.TP
This feature is provided by this driver, not by libinput.
+.SH BUGS
@@ -386,6 +386,27 @@ This driver does not work with \fBOption \*qDevice\*q\fR set to an event
node in \fI/dev/input/by-id\fR and \fI/dev/input/by-path\fR. This can be
usually be worked by using \fBSection \*qInputClass\*q\fR with an
appropriate \fBMatch*\fR statement in the __xconfigfile__(__filemansuffix__).
+.PP
+This driver does not know about the display pixel density and submits motion
+events assuming an approximate display density of 96dpi. On high-dpi
+screens this results in a slower physical motion of the cursor (a one-pixel
@ -39,12 +39,11 @@ index 2725390..bd09ffe 100644
+.PP
+.B This option is a temporary solution.
+It may be removed in any future update of this driver.
+
.SH AUTHORS
Peter Hutterer
.SH "SEE ALSO"
diff --git a/src/xf86libinput.c b/src/xf86libinput.c
index 8e63fd6..a529385 100644
index 83ab75d..c1a1ce2 100644
--- a/src/xf86libinput.c
+++ b/src/xf86libinput.c
@@ -194,6 +194,8 @@ struct xf86libinput {
@ -56,7 +55,7 @@ index 8e63fd6..a529385 100644
};
enum event_handling {
@@ -1313,6 +1315,11 @@ xf86libinput_handle_motion(InputInfoPtr pInfo, struct libinput_event_pointer *ev
@@ -1463,6 +1465,11 @@ xf86libinput_handle_motion(InputInfoPtr pInfo, struct libinput_event_pointer *ev
x = libinput_event_pointer_get_dx(event);
y = libinput_event_pointer_get_dy(event);
@ -68,7 +67,7 @@ index 8e63fd6..a529385 100644
valuator_mask_zero(mask);
#if HAVE_VMASK_UNACCEL
@@ -3268,6 +3275,25 @@ xf86libinput_pre_init(InputDriverPtr drv,
@@ -3421,6 +3428,25 @@ xf86libinput_pre_init(InputDriverPtr drv,
xf86libinput_parse_options(pInfo, driver_data, device);
@ -95,5 +94,5 @@ index 8e63fd6..a529385 100644
* this device, create a separate device instead */
if (!is_subdevice &&
--
2.13.0
2.14.3

View File

@ -1 +1 @@
SHA512 (xf86-input-libinput-0.26.0.tar.bz2) = b52a27e916f7e86576500ef2bc3ce640676f5a710543755865a723628c0e01a575989460853bac184ed696961e3f8fca72ecba8ad4625be8cd9e31f9a55f5e97
SHA512 (xf86-input-libinput-0.27.0.tar.bz2) = 716a9b43438acd6b7c6a834a08ecec244fecdc31e77241998414bf1748781026cd6c6e85947155c44400e0192769a714dfbfa0ed42ba3677347cd89ac1081743

View File

@ -7,8 +7,8 @@
Summary: Xorg X11 libinput input driver
Name: xorg-x11-drv-libinput
Version: 0.26.0
Release: 2%{?gitdate:.%{gitdate}git%{gitversion}}%{?dist}
Version: 0.27.0
Release: 1%{?gitdate:.%{gitdate}git%{gitversion}}%{?dist}
URL: http://www.x.org
License: MIT
@ -80,6 +80,9 @@ Xorg X11 libinput input driver development files.
%{_includedir}/xorg/libinput-properties.h
%changelog
* Tue Mar 20 2018 Peter Hutterer <peter.hutterer@redhat.com> 0.27.0-1
- xorg-x11-drv-libinput 0.27.0
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.26.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild