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.

https://bugzilla.gnome.org/show_bug.cgi?id=705670
This commit is contained in:
Giovanni Campagna
2013-07-19 18:47:01 +02:00
committed by Giovanni Campagna
parent f48ddb3683
commit 09984bb56d
3 changed files with 54 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