XI2proto: document XSetClientPointer behaviour on None window, etc.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
Peter Hutterer 2009-06-12 15:50:07 +10:00
parent 17a6ad0942
commit f711dfae68

View file

@ -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