[PATCH inputproto multitouch 06/13] XISelectEvents: BadValue is generated, not returned

Peter Hutterer peter.hutterer at who-t.net
Tue Aug 23 16:07:16 PDT 2011


Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
---
 specs/XI2proto.txt |   11 ++++++-----
 1 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/specs/XI2proto.txt b/specs/XI2proto.txt
index 602d1c0..b55faad 100644
--- a/specs/XI2proto.txt
+++ b/specs/XI2proto.txt
@@ -806,11 +806,12 @@ The mask for XIHierarchyEvents may only be selected for XIAllDevices.
 Setting it for any other device results in a BadValue error.
 
 A client selecting for any of XI_TouchBegin, XI_TouchUpdate, or XI_TouchEnd
-must select for all three events at the same time, else BadValue will be
-returned. A client selecting for XI_TouchOwnership must select for all three
-of the other touch events. If the selection for these touch events overlaps
-a current selection by another client (e.g. selecting for a specific device
-when another client has a selection for XIAllDevices), a BadAccess error occurs.
+must select for all three events at the same time, else a BadValue error
+will be generated. A client selecting for XI_TouchOwnership must select for
+all three of the other touch events. If the selection for these touch events
+overlaps a current selection by another client (e.g. selecting for a
+specific device when another client has a selection for XIAllDevices), a
+BadAccess error occurs.
 
 [[requests-getselectedevents]]
     ┌───
-- 
1.7.6



More information about the xorg-devel mailing list