diff --git a/0001-Add-a-DPIScaleFactor-option-as-temporary-solution-to.patch b/0001-Add-a-DPIScaleFactor-option-as-temporary-solution-to.patch index ac58d1b..3a6ac88 100644 --- a/0001-Add-a-DPIScaleFactor-option-as-temporary-solution-to.patch +++ b/0001-Add-a-DPIScaleFactor-option-as-temporary-solution-to.patch @@ -1,4 +1,4 @@ -From badaa13b7193344a3dd1a81b03baa4bc540faa92 Mon Sep 17 00:00:00 2001 +From be5220b31e77b1a3f723def32f69e6aee9f3c7e9 Mon Sep 17 00:00:00 2001 From: Peter Hutterer 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 c9fec4e..888891c 100644 +index 7c83ccb..76572f8 100644 --- a/man/libinput.man +++ b/man/libinput.man -@@ -401,6 +401,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 c9fec4e..888891c 100644 .SH AUTHORS Peter Hutterer diff --git a/src/xf86libinput.c b/src/xf86libinput.c -index 92817a5..dd600e6 100644 +index 642f95f..cfee922 100644 --- a/src/xf86libinput.c +++ b/src/xf86libinput.c -@@ -182,6 +182,8 @@ struct xf86libinput { +@@ -214,6 +214,8 @@ struct xf86libinput { struct scale_factor { double x, y; } area_scale_factor; @@ -55,7 +55,7 @@ index 92817a5..dd600e6 100644 }; enum event_handling { -@@ -1448,6 +1450,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 92817a5..dd600e6 100644 valuator_mask_zero(mask); { -@@ -3448,6 +3455,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,5 @@ index 92817a5..dd600e6 100644 * this device, create a separate device instead */ if (!is_subdevice && -- -2.31.1 +2.40.0 diff --git a/sources b/sources index 3d9f460..8565608 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (xf86-input-libinput-1.2.1.tar.xz) = 3decf694861d1aa3c02d090e66c5ed5513818cb18e9863f1790e0c8122a972230fb903705062b8291e1709db9098623f1205c63ccfb68e552e104813414589c7 +SHA512 (xf86-input-libinput-1.3.0.tar.xz) = f81f408b37e5f98ee97337dc4da6e78449e554e0ab2a3c6791b089d2cb6d645d0206ddf9babbc2120ab8bfe3b1489314fe42503ee015cec41775024538f3a34f diff --git a/xorg-x11-drv-libinput.spec b/xorg-x11-drv-libinput.spec index aa03057..3267607 100644 --- a/xorg-x11-drv-libinput.spec +++ b/xorg-x11-drv-libinput.spec @@ -7,8 +7,8 @@ Summary: Xorg X11 libinput input driver Name: xorg-x11-drv-libinput -Version: 1.2.1 -Release: 3%{?gitdate:.%{gitdate}git%{gitversion}}%{?dist} +Version: 1.3.0 +Release: 1%{?gitdate:.%{gitdate}git%{gitversion}}%{?dist} URL: http://www.x.org License: MIT @@ -78,6 +78,9 @@ Xorg X11 libinput input driver development files. %{_includedir}/xorg/libinput-properties.h %changelog +* Tue Apr 04 2023 Peter Hutterer - 1.3.0-1 +- xf86-input-libinput 1.3.0 + * Sat Jan 21 2023 Fedora Release Engineering - 1.2.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild