rpms/xorg-x11-drv-wacom/F-13 wacom-0.10.6-axis-mode.patch, NONE, 1.1 xorg-x11-drv-wacom.spec, 1.17, 1.18
Peter Hutterer
whot at fedoraproject.org
Thu May 20 23:15:12 UTC 2010
- Previous message: rpms/lvm2/devel LVM2.2.02.66.tgz.asc, NONE, 1.1 .cvsignore, 1.84, 1.85 lvm2-set-default-preferred_names.patch, 1.1, 1.2 lvm2.spec, 1.209, 1.210 sources, 1.94, 1.95 upstream, 1.77, 1.78 LVM2.2.02.65.tgz.asc, 1.1, NONE
- Next message: File xf86-input-wacom-20100521.tar.bz2 uploaded to lookaside cache by whot
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: whot
Update of /cvs/pkgs/rpms/xorg-x11-drv-wacom/F-13
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv23885
Modified Files:
xorg-x11-drv-wacom.spec
Added Files:
wacom-0.10.6-axis-mode.patch
Log Message:
* Fri May 21 2010 Peter Hutterer <peter.hutterer at redhat.com> 0.10.6-3
- wacom-0.10.6-axis-mode.patch: Fix axis mode setting, don't set
OutOfProximity bit.
wacom-0.10.6-axis-mode.patch:
xf86Wacom.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
--- NEW FILE wacom-0.10.6-axis-mode.patch ---
>From 060ad78cf464508f1d123c00b7340838a27f19e3 Mon Sep 17 00:00:00 2001
From: Peter Hutterer <peter.hutterer at who-t.net>
Date: Thu, 20 May 2010 16:41:02 +1000
Subject: [PATCH] Don't add the OutOfProximity flag to the axis mode.
The server and many clients tends to check for Absolute and/or Relative, but
don't use Absolute as a flag. The XI protocol spec only allows for 0 or 1
(Relative or Absolute), not for an extra flag.
As a result, a device set up with (Absolute|OutOfProximity) will be
interpreted as Absolute by some clients and relative by others.
Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
Reviewed-by: Ping Cheng <pinglinux at gmail.com>
---
src/xf86Wacom.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/src/xf86Wacom.c b/src/xf86Wacom.c
index 0b39ce0..761e3b7 100644
--- a/src/xf86Wacom.c
+++ b/src/xf86Wacom.c
@@ -674,8 +674,7 @@ static int wcmRegisterX11Devices (LocalDevicePtr local)
#endif
GetMotionHistorySize(),
((priv->flags & ABSOLUTE_FLAG) ?
- Absolute : Relative) |
- OutOfProximity ) == FALSE)
+ Absolute : Relative)) == FALSE)
{
xf86Msg(X_ERROR, "%s: unable to allocate Valuator class device\n", local->name);
return FALSE;
--
1.7.0.1
Index: xorg-x11-drv-wacom.spec
===================================================================
RCS file: /cvs/pkgs/rpms/xorg-x11-drv-wacom/F-13/xorg-x11-drv-wacom.spec,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -p -r1.17 -r1.18
--- xorg-x11-drv-wacom.spec 18 May 2010 04:38:49 -0000 1.17
+++ xorg-x11-drv-wacom.spec 20 May 2010 23:15:12 -0000 1.18
@@ -5,7 +5,7 @@
Summary: Xorg X11 wacom input driver
Name: xorg-x11-drv-wacom
Version: 0.10.6
-Release: 2%{?dist}
+Release: 3%{?dist}
URL: http://www.x.org
License: GPLv2+
Group: User Interface/X Hardware Support
@@ -15,6 +15,7 @@ Source0: http://prdownloads.sourceforge.
Source1: 70-wacom.rules
Patch01: wacom-0.10.6-serial-identifiers.patch
+Patch02: wacom-0.10.6-axis-mode.patch
ExcludeArch: s390 s390x
@@ -36,6 +37,7 @@ X.Org X11 wacom input driver for Wacom t
%setup -q -n %{tarball}-%{version}
%patch01 -p1
+%patch02 -p1
%build
%configure --disable-static
@@ -87,6 +89,10 @@ X.Org X11 wacom input driver development
%{_includedir}/xorg/wacom-properties.h
%changelog
+* Fri May 21 2010 Peter Hutterer <peter.hutterer at redhat.com> 0.10.6-3
+- wacom-0.10.6-axis-mode.patch: Fix axis mode setting, don't set
+ OutOfProximity bit.
+
* Tue May 18 2010 Peter Hutterer <peter.hutterer at redhat.com> 0.10.6-2
- Install wacom udev rules file to identify serial devices.
- Previous message: rpms/lvm2/devel LVM2.2.02.66.tgz.asc, NONE, 1.1 .cvsignore, 1.84, 1.85 lvm2-set-default-preferred_names.patch, 1.1, 1.2 lvm2.spec, 1.209, 1.210 sources, 1.94, 1.95 upstream, 1.77, 1.78 LVM2.2.02.65.tgz.asc, 1.1, NONE
- Next message: File xf86-input-wacom-20100521.tar.bz2 uploaded to lookaside cache by whot
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the scm-commits
mailing list