diff options
author | Adam Jackson <ajax@redhat.com> | 2008-12-08 16:56:22 -0500 |
---|---|---|
committer | Adam Jackson <ajax@redhat.com> | 2008-12-08 16:59:07 -0500 |
commit | ec0e4a251dab62c9692b9a79ecf6a2d26a3741f8 (patch) | |
tree | feaa9c67838e2b027d821acad9466a300988dba0 | |
parent | 692f4a466cd706041ce98d7c5cd7bf5fcca01df9 (diff) | |
download | xorg-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.txt | 5 |
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 |