Upgrade to 1.2.0

This commit is contained in:
yangcheng1203 2021-11-30 17:24:45 +08:00
parent c9a8121042
commit 522395a755
4 changed files with 13 additions and 10 deletions

View File

@ -11,10 +11,10 @@ https://bugzilla.redhat.com/show_bug.cgi?id=1413306
2 files changed, 47 insertions(+)
diff --git a/man/libinput.man b/man/libinput.man
index ec0f439..bdbdb37 100644
index 6ed4cdd..a5fa68e 100644
--- a/man/libinput.man
+++ b/man/libinput.man
@@ -386,6 +386,27 @@ This driver does not work with \fBOption \*qDevice\*q\fR set to an event
@@ -426,6 +426,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__).
@ -43,10 +43,10 @@ index ec0f439..bdbdb37 100644
.SH AUTHORS
Peter Hutterer
diff --git a/src/xf86libinput.c b/src/xf86libinput.c
index 83ab75d..c1a1ce2 100644
index 00f1f2c..d571288 100644
--- a/src/xf86libinput.c
+++ b/src/xf86libinput.c
@@ -194,6 +194,8 @@ struct xf86libinput {
@@ -193,6 +193,8 @@ struct xf86libinput {
struct scale_factor {
double x, y;
} area_scale_factor;
@ -55,7 +55,7 @@ index 83ab75d..c1a1ce2 100644
};
enum event_handling {
@@ -1463,6 +1465,11 @@ xf86libinput_handle_motion(InputInfoPtr pInfo, struct libinput_event_pointer *ev
@@ -1472,6 +1474,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);
@ -66,8 +66,8 @@ index 83ab75d..c1a1ce2 100644
+
valuator_mask_zero(mask);
#if HAVE_VMASK_UNACCEL
@@ -3421,6 +3428,25 @@ xf86libinput_pre_init(InputDriverPtr drv,
{
@@ -3698,6 +3705,25 @@ xf86libinput_pre_init(InputDriverPtr drv,
xf86libinput_parse_options(pInfo, driver_data, device);
@ -94,5 +94,5 @@ index 83ab75d..c1a1ce2 100644
* this device, create a separate device instead */
if (!is_subdevice &&
--
2.14.3
2.27.0

Binary file not shown.

Binary file not shown.

View File

@ -2,7 +2,7 @@
%global driverdir %{moduledir}/input
Name: xorg-x11-drv-libinput
Version: 0.30.0
Version: 1.2.0
Release: 1
Summary: Xorg X11 libinput input driver
License: MIT
@ -12,7 +12,7 @@ Source1: 71-libinput-overrides-wacom.conf
Patch0001: 0001-Add-a-DPIScaleFactor-option-as-temporary-solution-to.patch
BuildRequires: autoconf automake libtool xorg-x11-util-macros
BuildRequires: autoconf automake libtool
BuildRequires: libudev-devel libevdev-devel
BuildRequires: libinput-devel >= 0.6.0-3
BuildRequires: xorg-x11-server-devel >= 1.14.0
@ -72,6 +72,9 @@ cp %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/X11/xorg.conf.d/
%{_mandir}/man4/libinput.4*
%changelog
* Tue Nov 11 2021 yangcheng<yangcheng87@huawei.com> - 1.2.0-1
- Upgrade to 1.2.0-1
* Mon Jul 20 2020 chengguipeng<chengguipeng1@huawei.com> - 0.30.0-1
- Upgrade to 0.30.0-1