summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2009-06-12 15:50:07 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2009-06-12 15:50:21 +1000
commitf711dfae6872371ec41aeeecda9570a57d0a746c (patch)
tree39c4c064a3b3e110e56cecfe45b17e35dd158000
parent17a6ad094266cc14efb75cca36de0b8adff9d35b (diff)
XI2proto: document XSetClientPointer behaviour on None window, etc.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-rw-r--r--XI2proto.txt12
1 files changed, 12 insertions, 0 deletions
diff --git a/XI2proto.txt b/XI2proto.txt
index 492d94f..7054c36 100644
--- a/XI2proto.txt
+++ b/XI2proto.txt
@@ -624,6 +624,18 @@ XI2. Clients should ignore this data.
choose a client's ClientPointer device to provide the data, unless the
client currently has a grab on another device.
+ If win is None, the ClientPointer for this client is set to the given
+ device. Otherwise, if win is a valid window, the ClientPointer for the
+ client owning this window is set to the given device. Otherwise, if win is
+ not a valid window but a client with the client mask equal to win exists,
+ this client's ClientPointer is set to the given device.
+
+ If deviceid does not specify a master pointer or master keyboard, a
+ BadDevice error returned.
+
+ If window does not specify a valid window or client ID and is not None, a
+ BadWindow error is returned.
+
┌───
XIGetClientPointer
win: Window