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.3-protocol-4.patch |
Date: | Thu, 31 Dec 2009 16:42:06 |
Message-Id: | E1NQNd4-0001Lj-0q@stork.gentoo.org |
1 | ikelos 09/12/31 16:12:02 |
2 | |
3 | Added: 0.10.3-protocol-4.patch |
4 | Log: |
5 | Fix bug 298547, and tidy up older versions. |
6 | (Portage version: 2.2_rc60/cvs/Linux i686) |
7 | |
8 | Revision Changes Path |
9 | 1.1 x11-drivers/xf86-input-wacom/files/0.10.3-protocol-4.patch |
10 | |
11 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-drivers/xf86-input-wacom/files/0.10.3-protocol-4.patch?rev=1.1&view=markup |
12 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-drivers/xf86-input-wacom/files/0.10.3-protocol-4.patch?rev=1.1&content-type=text/plain |
13 | |
14 | Index: 0.10.3-protocol-4.patch |
15 | =================================================================== |
16 | diff --git a/src/wcmUSB.c b/src/wcmUSB.c |
17 | index 7d72473..954af06 100644 |
18 | --- a/src/wcmUSB.c |
19 | +++ b/src/wcmUSB.c |
20 | @@ -888,7 +888,7 @@ static void usbParseEvent(LocalDevicePtr local, |
21 | } |
22 | |
23 | /* ignore events without information */ |
24 | - if (common->wcmEventCnt <= 2) |
25 | + if ((common->wcmEventCnt <= 2) && common->wcmLastToolSerial) |
26 | { |
27 | DBG(3, common, "%s: dropping empty event" |
28 | " for serial %d\n", local->name, common->wcmLastToolSerial); |