Fix left-handed property missing on all but the first pointer device
This commit is contained in:
parent
31d1fa24a0
commit
ad51b5b7b4
35
0001-Fix-left-handed-property-not-set-on-all-pointers.patch
Normal file
35
0001-Fix-left-handed-property-not-set-on-all-pointers.patch
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
From 0db82219bb2ad10dcdf3ea8fe8e226858190c83b Mon Sep 17 00:00:00 2001
|
||||||
|
From: Evangelos Foutras <evangelos@foutrelis.com>
|
||||||
|
Date: Thu, 22 Mar 2018 01:47:07 +0200
|
||||||
|
Subject: [PATCH xf86-input-libinput] Fix "left handed" property not set on all
|
||||||
|
pointers
|
||||||
|
|
||||||
|
Remove conditional that prevents the LIBINPUT_PROP_LEFT_HANDED{,DEFAULT}
|
||||||
|
properties from being set on all pointer devices (only the first got it).
|
||||||
|
This appears to be a debugging left-over accidentally merged in
|
||||||
|
6d3bd4544a6a2f194fa.
|
||||||
|
|
||||||
|
https://bugs.freedesktop.org/show_bug.cgi?id=105667
|
||||||
|
|
||||||
|
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
||||||
|
---
|
||||||
|
src/xf86libinput.c | 3 ---
|
||||||
|
1 file changed, 3 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/src/xf86libinput.c b/src/xf86libinput.c
|
||||||
|
index 83ab75d..f9ed8ba 100644
|
||||||
|
--- a/src/xf86libinput.c
|
||||||
|
+++ b/src/xf86libinput.c
|
||||||
|
@@ -4930,9 +4930,6 @@ LibinputInitLeftHandedProperty(DeviceIntPtr dev,
|
||||||
|
if (!subdevice_has_capabilities(dev, CAP_POINTER|CAP_TABLET))
|
||||||
|
return;
|
||||||
|
|
||||||
|
- if (prop_left_handed != 0)
|
||||||
|
- return;
|
||||||
|
-
|
||||||
|
if (!libinput_device_config_left_handed_is_available(device) ||
|
||||||
|
driver_data->capabilities & CAP_TABLET)
|
||||||
|
return;
|
||||||
|
--
|
||||||
|
2.14.3
|
||||||
|
|
@ -8,7 +8,7 @@
|
|||||||
Summary: Xorg X11 libinput input driver
|
Summary: Xorg X11 libinput input driver
|
||||||
Name: xorg-x11-drv-libinput
|
Name: xorg-x11-drv-libinput
|
||||||
Version: 0.27.0
|
Version: 0.27.0
|
||||||
Release: 1%{?gitdate:.%{gitdate}git%{gitversion}}%{?dist}
|
Release: 2%{?gitdate:.%{gitdate}git%{gitversion}}%{?dist}
|
||||||
URL: http://www.x.org
|
URL: http://www.x.org
|
||||||
License: MIT
|
License: MIT
|
||||||
|
|
||||||
@ -23,6 +23,9 @@ Source1: 71-libinput-overrides-wacom.conf
|
|||||||
# https://bugzilla.redhat.com/show_bug.cgi?id=1413306
|
# https://bugzilla.redhat.com/show_bug.cgi?id=1413306
|
||||||
Patch01: 0001-Add-a-DPIScaleFactor-option-as-temporary-solution-to.patch
|
Patch01: 0001-Add-a-DPIScaleFactor-option-as-temporary-solution-to.patch
|
||||||
|
|
||||||
|
# upstream as 0db82219bb2ad10dcdf3ea8fe8e226858190c83b
|
||||||
|
Patch02: 0001-Fix-left-handed-property-not-set-on-all-pointers.patch
|
||||||
|
|
||||||
ExcludeArch: s390 s390x
|
ExcludeArch: s390 s390x
|
||||||
|
|
||||||
BuildRequires: autoconf automake libtool
|
BuildRequires: autoconf automake libtool
|
||||||
@ -80,6 +83,9 @@ Xorg X11 libinput input driver development files.
|
|||||||
%{_includedir}/xorg/libinput-properties.h
|
%{_includedir}/xorg/libinput-properties.h
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Mar 22 2018 Peter Hutterer <peter.hutterer@redhat.com> 0.27.0-2
|
||||||
|
- Fix left-handed property missing on all but the first pointer device
|
||||||
|
|
||||||
* Tue Mar 20 2018 Peter Hutterer <peter.hutterer@redhat.com> 0.27.0-1
|
* Tue Mar 20 2018 Peter Hutterer <peter.hutterer@redhat.com> 0.27.0-1
|
||||||
- xorg-x11-drv-libinput 0.27.0
|
- xorg-x11-drv-libinput 0.27.0
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user