summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Bosveld <Joel.Bosveld@gmail.com>2009-07-09 09:32:53 +0800
committerJoel Bosveld <Joel.Bosveld@gmail.com>2009-07-09 09:32:53 +0800
commit4a93ea29dc2283ecd887fd29e8130841710a9b75 (patch)
tree76025882e12cf6b8053652a830ab2c4de325c73f
parent01a03c04aa00559b54f28801b675b25e35c2310d (diff)
Sync documentation for set mesh and redirect input with current use in xserver
-rw-r--r--compositeproto.txt23
1 files changed, 9 insertions, 14 deletions
diff --git a/compositeproto.txt b/compositeproto.txt
index 6aa3312..ce99740 100644
--- a/compositeproto.txt
+++ b/compositeproto.txt
@@ -331,11 +331,11 @@ operations other than QueryVersion.
within the window. This is useful if during grabs you want certain
regions of the screen to give coordinates inside the window, although
the window isn't actually there (eg. cutting a hole in a window)
-
- 'BadAccess' will be generated if a client attempts to set a mesh for
- a window which is not Manual update, or for which it is not the
- Manual update client. 'BadWindow' will be generated if the window is
- not redirected.
+
+ Generates a 'Window' error if 'window' is the root window.
+
+ Generates a 'Access' error if another client has set an input mesh or
+ redirection on this window.
RedirectWindowInput
@@ -345,12 +345,7 @@ operations other than QueryVersion.
errors: Window, Access
This request redirects input from one window to another. Any input
- generated on 'window' will be sent to 'destination' instead. This is
- intented to be used to redirect input from input-only windows to
- redirected window, to allow multiple copies of a window to appear in
- different stacking positions.
-
- 'BadWindow' will be generated if a client attempts to redirect
- 'window' to one of its descendants, or other situations which would
- result in an unworkable redirection. 'BadAccess' will be generated if
- this client isn't allowed to access either window.
+ generated on 'window' will be sent to 'destination' instead.
+ Generates a 'Window' error if 'destination' is an ancestor of 'window'
+ Generates a 'Access' error if another client has set an input mesh or
+ redirection on this window.