Extend the DBus XRandR protocol to expose cloning restriction

Turns out that even if two outputs say that they can be controlled
by a given CRTC, you can't configure them in the same CRTC unless
they are marked as "possible clones" one of the other.
This can further restrict the configuration options, so we need
to expose this limitation in the DBus API.
This commit is contained in:
Giovanni Campagna
2013-07-19 18:47:01 +02:00
parent d9a5f2638a
commit 528219fcbf
3 changed files with 56 additions and 4 deletions

View File

@@ -70,6 +70,9 @@ struct _MetaOutput
MetaCRTC **possible_crtcs;
unsigned int n_possible_crtcs;
MetaOutput **possible_clones;
unsigned int n_possible_clones;
/* The low-level bits used to build the high-level info
in MetaMonitorInfo