From f711dfae6872371ec41aeeecda9570a57d0a746c Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Fri, 12 Jun 2009 15:50:07 +1000 Subject: [PATCH] XI2proto: document XSetClientPointer behaviour on None window, etc. Signed-off-by: Peter Hutterer --- XI2proto.txt | 12 ++++++++++++ 1 file changed, 12 insertions(+) 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