commit 2038ad187823b770fcb3b5e77dacf4bad27617e6 Author: Peter Hutterer Date: Thu Mar 25 10:49:02 2010 +1000 Always put the pad in relative mode. Fixes Intuos3 scrolling issues. The pad cannot be in absolute mode as it sends the axis values to the server. Since the pad never gets x/y coordinates from the tablet the server will fill in the defaults (0/0) for it - even if first_valuator is always > 1. This results in the pointer being reset to the screen origin each time the pad's scroll strip is used. Signed-off-by: Peter Hutterer Acked-by: Ping Cheng diff --git a/src/wcmValidateDevice.c b/src/wcmValidateDevice.c index f153cd2..51b16de 100644 --- a/src/wcmValidateDevice.c +++ b/src/wcmValidateDevice.c @@ -333,9 +333,9 @@ int wcmParseOptions(LocalDevicePtr local) */ } - /* Pad is always in absolute mode. */ + /* Pad is always in relative mode. */ if (IsPad(priv)) - priv->flags |= ABSOLUTE_FLAG; + priv->flags &= ~ABSOLUTE_FLAG; /* Store original local Core flag so it can be changed later */ if (local->flags & (XI86_ALWAYS_CORE | XI86_CORE_POINTER))