From: ping Cheng <pi...@wacom.com>

common is meant for all tools on the same logical port, not the
same physical device (product id).

Signed-off-by: Ping Cheng <pi...@wacom.com>
---
 src/wcmCommon.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/wcmCommon.c b/src/wcmCommon.c
index 02f3da1..0dc6bab 100644
--- a/src/wcmCommon.c
+++ b/src/wcmCommon.c
@@ -1197,7 +1197,7 @@ static void commonDispatchDevice(WacomCommonPtr common, 
unsigned int channel,
        }
 
        if (IsPen(priv))
-               common->wcmPenInProx = filtered.proximity;
+               common->wcmTouchDevice->common->wcmPenInProx = 
filtered.proximity;
 
        if ((IsPen(priv) || IsTouch(priv)) && common->wcmMaxZ)
        {
-- 
1.7.10.4


------------------------------------------------------------------------------
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
_______________________________________________
Linuxwacom-devel mailing list
Linuxwacom-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel

Reply via email to