summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Jackson <ajax@redhat.com>2008-12-08 16:56:22 -0500
committerAdam Jackson <ajax@redhat.com>2008-12-08 16:59:07 -0500
commitec0e4a251dab62c9692b9a79ecf6a2d26a3741f8 (patch)
treefeaa9c67838e2b027d821acad9466a300988dba0
parent692f4a466cd706041ce98d7c5cd7bf5fcca01df9 (diff)
downloadxorg-proto-randrproto-ec0e4a251dab62c9692b9a79ecf6a2d26a3741f8.tar.gz
SetOutputPrimary: document another error path
Need to name a window so you can set the primary output to None, but that means you need to check that they're on the same screen.
-rw-r--r--randrproto.txt5
1 files changed, 3 insertions, 2 deletions
diff --git a/randrproto.txt b/randrproto.txt
index ee32728..bb2b15e 100644
--- a/randrproto.txt
+++ b/randrproto.txt
@@ -1075,8 +1075,9 @@ new pending transform has been set since the last call to RRSetCrtcConfig.
desktop environments to mark the screen that should hold the primary
menu bar or panel.
- If the named output is not connected to any CRTC, BadMatch is
- generated.
+ If the named output is not connected to any CRTC, or if the Window
+ and Output are not attached to the same screen, BadMatch is generated.
+ In the latter case, errorValue will be the Window, not the Output.
As this changes the logical layout of the screen, ConfigureNotify
and RRScreenChangeNotify will be generated on the appropriate root