The server and many clients tends to check for Absolute and/or Relative, but
don't use Absolute as a flag. The XI protocol spec only allows for 0 or 1
(Relative or Absolute), not for an extra flag.

As a result, a device set up with (Absolute|OutOfProximity) will be
interpreted as Absolute by some clients and relative by others.

Signed-off-by: Peter Hutterer <[email protected]>
---
 src/xf86Wacom.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/src/xf86Wacom.c b/src/xf86Wacom.c
index 0b39ce0..761e3b7 100644
--- a/src/xf86Wacom.c
+++ b/src/xf86Wacom.c
@@ -674,8 +674,7 @@ static int wcmRegisterX11Devices (LocalDevicePtr local)
 #endif
                                          GetMotionHistorySize(),
                                          ((priv->flags & ABSOLUTE_FLAG) ?
-                                         Absolute : Relative) | 
-                                         OutOfProximity ) == FALSE)
+                                         Absolute : Relative)) == FALSE)
        {
                xf86Msg(X_ERROR, "%s: unable to allocate Valuator class 
device\n", local->name);
                return FALSE;
-- 
1.7.0.1


------------------------------------------------------------------------------

_______________________________________________
Linuxwacom-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel

Reply via email to