[PATCH] XI2: Fix XI_TouchOwnershipChangedMask value

Daniel Martin consume.noise at gmail.com
Thu May 29 03:24:46 PDT 2014


A none existing define
    XI_TouchOwnershipChanged
had been used to set the value of XI_TouchOwnershipChangedMask. Fix this
by using
    XI_TouchOwnership.

Signed-off-by: Daniel Martin <consume.noise at gmail.com>
---
 XI2.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/XI2.h b/XI2.h
index b1498a7..5a1c66a 100644
--- a/XI2.h
+++ b/XI2.h
@@ -234,7 +234,7 @@
 #define XI_RawMotionMask                 (1 << XI_RawMotion)
 #define XI_TouchBeginMask                (1 << XI_TouchBegin)
 #define XI_TouchEndMask                  (1 << XI_TouchEnd)
-#define XI_TouchOwnershipChangedMask     (1 << XI_TouchOwnershipChanged)
+#define XI_TouchOwnershipChangedMask     (1 << XI_TouchOwnership)
 #define XI_TouchUpdateMask               (1 << XI_TouchUpdate)
 #define XI_RawTouchBeginMask             (1 << XI_RawTouchBegin)
 #define XI_RawTouchEndMask               (1 << XI_RawTouchEnd)
-- 
1.9.3



More information about the xorg-devel mailing list