!17 update to 1.3.0
From: @zppzhangpan Reviewed-by: @t_feng Signed-off-by: @t_feng
This commit is contained in:
commit
8c08800a24
@ -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.
BIN
xf86-input-libinput-1.3.0.tar.gz
Normal file
BIN
xf86-input-libinput-1.3.0.tar.gz
Normal file
Binary file not shown.
@ -2,7 +2,7 @@
|
||||
%global driverdir %{moduledir}/input
|
||||
|
||||
Name: xorg-x11-drv-libinput
|
||||
Version: 1.2.1
|
||||
Version: 1.3.0
|
||||
Release: 1
|
||||
Summary: Xorg X11 libinput input driver
|
||||
License: MIT
|
||||
@ -72,6 +72,9 @@ cp %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/X11/xorg.conf.d/
|
||||
%{_mandir}/man4/libinput.4*
|
||||
|
||||
%changelog
|
||||
* 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
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user