[arch-commits] Commit in xf86-input-libinput/trunk (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Thu Mar 22 00:35:38 UTC 2018
Date: Thursday, March 22, 2018 @ 00:35:37
Author: foutrelis
Revision: 319794
upgpkg: xf86-input-libinput 0.27.0-2
Fix issue causing xfce4-settings not to be able to apply mouse settings
to all mice. Only one pointer device was recognized as libinput device.
https://bugs.freedesktop.org/show_bug.cgi?id=105667
Added:
xf86-input-libinput/trunk/fix-left-handed-property-not-set-on-all-pointers.patch
Modified:
xf86-input-libinput/trunk/PKGBUILD
--------------------------------------------------------+
PKGBUILD | 15 +++++--
fix-left-handed-property-not-set-on-all-pointers.patch | 31 +++++++++++++++
2 files changed, 43 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-03-22 00:30:20 UTC (rev 319793)
+++ PKGBUILD 2018-03-22 00:35:37 UTC (rev 319794)
@@ -3,7 +3,7 @@
pkgname=xf86-input-libinput
pkgver=0.27.0
-pkgrel=1
+pkgrel=2
pkgdesc="Generic input driver for the X.Org server based on libinput"
arch=('x86_64')
license=('custom')
@@ -12,11 +12,20 @@
makedepends=('xorg-server-devel' 'X-ABI-XINPUT_VERSION=24.1' 'libxi' 'libx11' 'resourceproto' 'scrnsaverproto')
conflicts=('xorg-server<1.19.0' 'X-ABI-XINPUT_VERSION<24' 'X-ABI-XINPUT_VERSION>=25')
groups=('xorg-drivers')
-source=(https://xorg.freedesktop.org/releases/individual/driver/${pkgname}-${pkgver}.tar.bz2{,.sig})
+source=(https://xorg.freedesktop.org/releases/individual/driver/${pkgname}-${pkgver}.tar.bz2{,.sig}
+ fix-left-handed-property-not-set-on-all-pointers.patch)
sha512sums=('716a9b43438acd6b7c6a834a08ecec244fecdc31e77241998414bf1748781026cd6c6e85947155c44400e0192769a714dfbfa0ed42ba3677347cd89ac1081743'
- 'SKIP')
+ 'SKIP'
+ '6f77002753c1f219cb46bd83fa0c500d8772db71e080ce6107b4887d582cb567c81e237a1bb91e639ffc0f751443a4170282e437f30ad7c9405acbaf033943dc')
validpgpkeys=('3C2C43D9447D5938EF4551EBE23B7E70B467F0BF') # Peter Hutterer (Who-T) <office at who-t.net>
+prepare() {
+ cd ${pkgname}-${pkgver}
+
+ # https://bugs.freedesktop.org/show_bug.cgi?id=105667
+ patch -Np1 -i ../fix-left-handed-property-not-set-on-all-pointers.patch
+}
+
build() {
cd ${pkgname}-${pkgver}
Added: fix-left-handed-property-not-set-on-all-pointers.patch
===================================================================
--- fix-left-handed-property-not-set-on-all-pointers.patch (rev 0)
+++ fix-left-handed-property-not-set-on-all-pointers.patch 2018-03-22 00:35:37 UTC (rev 319794)
@@ -0,0 +1,31 @@
+From 23cedbebc037f2896eb624ddf77e8d7886b6bc0d Mon Sep 17 00:00:00 2001
+From: Evangelos Foutras <evangelos at 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).
+
+https://bugs.freedesktop.org/show_bug.cgi?id=105667
+---
+ 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.16.2
+
More information about the arch-commits
mailing list