From: | "Mike Auty (ikelos)" <ikelos@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in x11-drivers/xf86-input-wacom/files: 0.10.2-wheel-buttons.patch |
Date: | Wed, 02 Dec 2009 20:52:25 |
Message-Id: | E1NFwBR-0000xC-4a@stork.gentoo.org |
1 | ikelos 09/12/02 20:52:21 |
2 | |
3 | Added: 0.10.2-wheel-buttons.patch |
4 | Log: |
5 | Fix up wheel mouse bug with xf86-input-wacom-0.10.2. |
6 | (Portage version: 2.2_rc54/cvs/Linux i686) |
7 | |
8 | Revision Changes Path |
9 | 1.1 x11-drivers/xf86-input-wacom/files/0.10.2-wheel-buttons.patch |
10 | |
11 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-drivers/xf86-input-wacom/files/0.10.2-wheel-buttons.patch?rev=1.1&view=markup |
12 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-drivers/xf86-input-wacom/files/0.10.2-wheel-buttons.patch?rev=1.1&content-type=text/plain |
13 | |
14 | Index: 0.10.2-wheel-buttons.patch |
15 | =================================================================== |
16 | diff --git a/src/wcmCommon.c b/src/wcmCommon.c |
17 | index e197973..ea3c937 100644 |
18 | --- a/src/wcmCommon.c |
19 | +++ b/src/wcmCommon.c |
20 | @@ -616,6 +616,7 @@ static void sendWheelStripEvents(LocalDevicePtr local, const WacomDeviceState* d |
21 | |
22 | switch (fakeButton & AC_TYPE) |
23 | { |
24 | + case 0: /* no spec. action defined */ |
25 | case AC_BUTTON: |
26 | /* send both button on/off in the same event for pad */ |
27 | xf86PostButtonEvent(local->dev, is_absolute, fakeButton & AC_CODE, |