Touch tools for all LCD devices, not just Tablet PCs, should be
in Absolute mode by default

Signed-off-by: Ping Cheng <[email protected]>
---
 src/wcmConfig.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/wcmConfig.c b/src/wcmConfig.c
index c2e46fe..3d7dd31 100644
--- a/src/wcmConfig.c
+++ b/src/wcmConfig.c
@@ -181,7 +181,7 @@ static int wcmSetType(LocalDevicePtr local, const char 
*type)
        {
                int flags = TOUCH_ID;
 
-               if (TabletHasFeature(priv->common, WCM_TPC))
+               if (TabletHasFeature(priv->common, WCM_LCD))
                        flags |= ABSOLUTE_FLAG;
 
                priv->flags = flags;
-- 
1.6.6.1


------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
Linuxwacom-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel

Reply via email to