summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2011-08-24 09:07:16 +1000
committerChase Douglas <chase.douglas@canonical.com>2011-08-23 17:58:00 -0700
commit5b8a8bd0b4e779b947093f9722a2af2568c27118 (patch)
tree6b8bfe9bf09316485b725b70e1786e3ad4aee5bb
parentae6ba6b37e47134914b8fedb6524372f0a8119c0 (diff)
XISelectEvents: BadValue is generated, not returned
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Chase Douglas <chase.douglas@canonical.com> Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
-rw-r--r--specs/XI2proto.txt11
1 files changed, 6 insertions, 5 deletions
diff --git a/specs/XI2proto.txt b/specs/XI2proto.txt
index ee8ca49..9f2349e 100644
--- a/specs/XI2proto.txt
+++ b/specs/XI2proto.txt
@@ -805,11 +805,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]]
┌───