Compare commits

...

11 Commits

Author SHA1 Message Date
openeuler-ci-bot
e241432d4f
!19 update to version 1.4.0
From: @paulthomas100199 
Reviewed-by: @open-bot 
Signed-off-by: @open-bot
2023-12-29 07:14:34 +00:00
lwg
b7416e52de update to version 1.4.0 2023-12-28 17:27:25 +08:00
openeuler-ci-bot
8c08800a24
!17 update to 1.3.0
From: @zppzhangpan 
Reviewed-by: @t_feng 
Signed-off-by: @t_feng
2023-08-02 08:46:17 +00:00
zhangpan
a554bb43ac update to 1.3.0 2023-07-14 09:18:25 +00:00
openeuler-ci-bot
92d37acca1
!16 update to 1.2.1
From: @zppzhangpan 
Reviewed-by: @t_feng 
Signed-off-by: @t_feng
2023-02-07 08:50:45 +00:00
zhangpan
2da74252d8 update to 1.2.1 2023-02-03 07:30:32 +00:00
zhangpan
9f6706ed19 update to 1.2.1 2023-02-03 06:29:12 +00:00
openeuler-ci-bot
dcc1f0e19b
!15 【轻量级 PR】:rebuild for next release
From: @kerongw 
Reviewed-by: @t_feng 
Signed-off-by: @t_feng
2022-10-28 09:03:10 +00:00
kerongw
fa90236b9a
rebuild for next release
Signed-off-by: kerongw <wangkerong@h-partners.com>
2022-10-27 02:04:54 +00:00
openeuler-ci-bot
a3ae80ea5f
!11 【轻量级 PR】:fix spec changelog date error
From: @jianli-97 
Reviewed-by: @dou33 
Signed-off-by: @dou33
2022-06-10 03:31:54 +00:00
李剑
a6cafcd234
fix spec changelog date error 2022-06-08 06:38:47 +00:00
4 changed files with 24 additions and 13 deletions

View File

@ -1,4 +1,4 @@
From 41d20d35c1587f3de35acf47f926c97a30680978 Mon Sep 17 00:00:00 2001
From be5220b31e77b1a3f723def32f69e6aee9f3c7e9 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
@ -11,13 +11,13 @@ 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 6ed4cdd..a5fa68e 100644
index 7c83ccb..76572f8 100644
--- a/man/libinput.man
+++ b/man/libinput.man
@@ -426,6 +426,27 @@ This driver does not work with \fBOption \*qDevice\*q\fR set to an event
@@ -454,6 +454,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__).
appropriate \fBMatch*\fR statement in the xorg.conf(5).
+.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
@ -43,10 +43,10 @@ index 6ed4cdd..a5fa68e 100644
.SH AUTHORS
Peter Hutterer
diff --git a/src/xf86libinput.c b/src/xf86libinput.c
index 00f1f2c..d571288 100644
index 642f95f..cfee922 100644
--- a/src/xf86libinput.c
+++ b/src/xf86libinput.c
@@ -193,6 +193,8 @@ struct xf86libinput {
@@ -214,6 +214,8 @@ struct xf86libinput {
struct scale_factor {
double x, y;
} area_scale_factor;
@ -55,7 +55,7 @@ index 00f1f2c..d571288 100644
};
enum event_handling {
@@ -1472,6 +1474,11 @@ xf86libinput_handle_motion(InputInfoPtr pInfo, struct libinput_event_pointer *ev
@@ -1571,6 +1573,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);
@ -67,7 +67,7 @@ index 00f1f2c..d571288 100644
valuator_mask_zero(mask);
{
@@ -3698,6 +3705,25 @@ xf86libinput_pre_init(InputDriverPtr drv,
@@ -3951,6 +3958,25 @@ xf86libinput_pre_init(InputDriverPtr drv,
xf86libinput_parse_options(pInfo, driver_data, device);
@ -94,5 +94,4 @@ index 00f1f2c..d571288 100644
* this device, create a separate device instead */
if (!is_subdevice &&
--
2.27.0
2.40.0

Binary file not shown.

Binary file not shown.

View File

@ -2,12 +2,12 @@
%global driverdir %{moduledir}/input
Name: xorg-x11-drv-libinput
Version: 1.2.0
Version: 1.4.0
Release: 1
Summary: Xorg X11 libinput input driver
License: MIT
URL: https://www.x.org
Source0: https://www.x.org/archive/individual/driver/xf86-input-libinput-%{version}.tar.bz2
Source0: https://www.x.org/archive/individual/driver/xf86-input-libinput-%{version}.tar.gz
Source1: 71-libinput-overrides-wacom.conf
Patch0001: 0001-Add-a-DPIScaleFactor-option-as-temporary-solution-to.patch
@ -72,7 +72,19 @@ 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
* Thu Dec 28 2023 Paul Thomas <paulthomas100199@gmail.com> - 1.4.0-1
- update to version 1.4.0
* Fri Jul 14 2023 zhangpan <zhangpan103@h-partners.com> - 1.3.0-1
- update to 1.3.0
* Fri Feb 03 2023 zhangpan <zhangpan@h-partners.com> - 1.2.1-1
- update to 1.2.1
* Tue Oct 25 2022 wangkerong <wangkerong@h-partners.com> - 1.2.0-2
- rebuild for next release
* Thu 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