diff options
author | James Meyer <james.meyer@operamail.com> | 2012-08-07 19:12:33 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2012-08-07 19:12:33 (GMT) |
commit | 22ea84ac6f7d6bee05c12e3bff8672fbad753ea3 (patch) | |
tree | d5089aa3b2779c672338075fcb0935752b1e1544 /abs/core/xf86-input-evdev | |
parent | fd255056dd9f3aa7f2d61c71497fc98039497907 (diff) | |
download | linhes_pkgbuild-22ea84ac6f7d6bee05c12e3bff8672fbad753ea3.zip linhes_pkgbuild-22ea84ac6f7d6bee05c12e3bff8672fbad753ea3.tar.gz linhes_pkgbuild-22ea84ac6f7d6bee05c12e3bff8672fbad753ea3.tar.bz2 |
Xorg update part1
Diffstat (limited to 'abs/core/xf86-input-evdev')
-rw-r--r-- | abs/core/xf86-input-evdev/Fix_inverted_horizontal_scroll.diff | 27 | ||||
-rw-r--r-- | abs/core/xf86-input-evdev/PKGBUILD | 17 |
2 files changed, 37 insertions, 7 deletions
diff --git a/abs/core/xf86-input-evdev/Fix_inverted_horizontal_scroll.diff b/abs/core/xf86-input-evdev/Fix_inverted_horizontal_scroll.diff new file mode 100644 index 0000000..93c54d3 --- /dev/null +++ b/abs/core/xf86-input-evdev/Fix_inverted_horizontal_scroll.diff @@ -0,0 +1,27 @@ +From 99340147b9092a5aaec997eca407282a51e1f063 Mon Sep 17 00:00:00 2001 +From: Peter Hutterer <peter.hutterer@who-t.net> +Date: Thu, 15 Mar 2012 05:46:32 +0000 +Subject: Fix inverted horizontal scroll (#46205) + +REL_HWHEEL has a positive increment, not a negative one like REL_WHEEL. + +X.Org Bug 46205 <http://bugs.freedesktop.org/show_bug.cgi?id=46205> + +Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> +Reviewed-by: Chase Douglas <chase.douglas@canonical.com> +--- +diff --git a/src/evdev.c b/src/evdev.c +index d540b87..8cf630c 100644 +--- a/src/evdev.c ++++ b/src/evdev.c +@@ -1600,7 +1600,7 @@ EvdevAddRelValuatorClass(DeviceIntPtr device) + else if (axis == REL_DIAL) + SetScrollValuator(device, axnum, SCROLL_TYPE_VERTICAL, -1.0, SCROLL_FLAG_NONE); + else if (axis == REL_HWHEEL) +- SetScrollValuator(device, axnum, SCROLL_TYPE_HORIZONTAL, -1.0, SCROLL_FLAG_NONE); ++ SetScrollValuator(device, axnum, SCROLL_TYPE_HORIZONTAL, 1.0, SCROLL_FLAG_NONE); + #endif + } + +-- +cgit v0.9.0.2-2-gbebe diff --git a/abs/core/xf86-input-evdev/PKGBUILD b/abs/core/xf86-input-evdev/PKGBUILD index c6776bd..00cdc8b 100644 --- a/abs/core/xf86-input-evdev/PKGBUILD +++ b/abs/core/xf86-input-evdev/PKGBUILD @@ -1,24 +1,27 @@ -# $Id$ +# $Id: PKGBUILD 153700 2012-03-18 08:50:36Z andyrtr $ # Maintainer: Jan de Groot <jgc@archlinux.org> # Contributor: Alexander Baldeck <Alexander@archlinux.org pkgname=xf86-input-evdev -pkgver=2.6.0 -pkgrel=4 +pkgver=2.7.0 +pkgrel=2 pkgdesc="X.org evdev input driver" arch=(i686 x86_64) url="http://xorg.freedesktop.org/" license=('custom') depends=('glibc') -makedepends=('xorg-server-devel') -conflicts=('xorg-server<1.9.0') +makedepends=('xorg-server-devel>=1.11.99.902') +conflicts=('xorg-server<1.11.99.902') options=('!libtool' '!makeflags') groups=('xorg-drivers' 'xorg') -source=(${url}/releases/individual/driver/${pkgname}-${pkgver}.tar.bz2) -sha1sums=('fb6f7a6f5168ae07efe890e4ace9fb8af1d4e1e0') +source=(${url}/releases/individual/driver/${pkgname}-${pkgver}.tar.bz2 + Fix_inverted_horizontal_scroll.diff) +sha1sums=('f0cb2d8400c33e8e83b538b53512e77ba73367fa' + 'e959e710d9a0c60a3af967148b9d5e014544993c') build() { cd "${srcdir}/${pkgname}-${pkgver}" + patch -Np1 -i ${srcdir}/Fix_inverted_horizontal_scroll.diff ./configure --prefix=/usr make } |