From: Chris Bagwell <ch...@cnpbagwell.com>

Signed-off-by: Chris Bagwell <ch...@cnpbagwell.com>
---
 src/wcmCommon.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/src/wcmCommon.c b/src/wcmCommon.c
index cd550ea..f77cad7 100644
--- a/src/wcmCommon.c
+++ b/src/wcmCommon.c
@@ -968,7 +968,9 @@ void wcmEvent(WacomCommonPtr common, unsigned int channel,
                        fs->tiltx[0] = ds.tiltx;
                        fs->tilty[0] = ds.tilty;
                }
-               if (RAW_FILTERING(common) && common->wcmModel->FilterRaw && 
ds.device_type != PAD_ID)
+               /* Optionally filter values while in proximity */
+               if (RAW_FILTERING(common) && common->wcmModel->FilterRaw &&
+                   ds.proximity && ds.device_type != PAD_ID)
                {
                        if (common->wcmModel->FilterRaw(common,pChannel,&ds))
                        {
-- 
1.7.3.2


------------------------------------------------------------------------------
Centralized Desktop Delivery: Dell and VMware Reference Architecture
Simplifying enterprise desktop deployment and management using
Dell EqualLogic storage and VMware View: A highly scalable, end-to-end
client virtualization framework. Read more!
http://p.sf.net/sfu/dell-eql-dev2dev
_______________________________________________
Linuxwacom-devel mailing list
Linuxwacom-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel

Reply via email to