summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Auty <ikelos@gentoo.org>2009-12-02 20:52:21 +0000
committerMike Auty <ikelos@gentoo.org>2009-12-02 20:52:21 +0000
commit0950a4e563efb099f1d84b2d163972198a94bcae (patch)
treec36001ba8302394a783dbd65db8d0f6984572d82 /x11-drivers/xf86-input-wacom/files
parentVersion bump. Remove old. (diff)
downloadgentoo-2-0950a4e563efb099f1d84b2d163972198a94bcae.tar.gz
gentoo-2-0950a4e563efb099f1d84b2d163972198a94bcae.tar.bz2
gentoo-2-0950a4e563efb099f1d84b2d163972198a94bcae.zip
Fix up wheel mouse bug with xf86-input-wacom-0.10.2.
(Portage version: 2.2_rc54/cvs/Linux i686)
Diffstat (limited to 'x11-drivers/xf86-input-wacom/files')
-rw-r--r--x11-drivers/xf86-input-wacom/files/0.10.2-wheel-buttons.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/x11-drivers/xf86-input-wacom/files/0.10.2-wheel-buttons.patch b/x11-drivers/xf86-input-wacom/files/0.10.2-wheel-buttons.patch
new file mode 100644
index 000000000000..2e9dba6a0b81
--- /dev/null
+++ b/x11-drivers/xf86-input-wacom/files/0.10.2-wheel-buttons.patch
@@ -0,0 +1,13 @@
+diff --git a/src/wcmCommon.c b/src/wcmCommon.c
+index e197973..ea3c937 100644
+--- a/src/wcmCommon.c
++++ b/src/wcmCommon.c
+@@ -616,6 +616,7 @@ static void sendWheelStripEvents(LocalDevicePtr local, const WacomDeviceState* d
+
+ switch (fakeButton & AC_TYPE)
+ {
++ case 0: /* no spec. action defined */
+ case AC_BUTTON:
+ /* send both button on/off in the same event for pad */
+ xf86PostButtonEvent(local->dev, is_absolute, fakeButton & AC_CODE,
+