backends: Add logical monitor -> monitor -> output -> crtc ref chain
authorJonas Ådahl <jadahl@gmail.com>
Fri, 3 Nov 2017 10:27:57 +0000 (04:27 -0600)
committerSimon McVittie <smcv@debian.org>
Sun, 8 Jul 2018 10:32:56 +0000 (11:32 +0100)
commitfb2073ffd7205914e4aa6350c584598dc5b0d372
tree1732c42a906e084cd055d8f277c2a696b4e9f1a3
parentd4e4e225c5e7513823c622dadfd1b9d8e8b3c903
backends: Add logical monitor -> monitor -> output -> crtc ref chain

Make it so that each logical monitor has a reference to all the
monitors that are assigned to it.

All monitors has a reference to each output that belongs to it.

Each output has a reference to any CRTC it has been assigned.

Bug: https://bugzilla.gnome.org/show_bug.cgi?id=786929
Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/mutter/+bug/1703668
Forwarded: yes, https://gitlab.gnome.org/GNOME/mutter/merge_requests/81
Applied-upstream: 3.28.3, commit:fe1616668e9d82e87f6c518b3b4bacff3afefdf7

Gbp-Pq: Name backends-Add-logical-monitor-monitor-output-crtc-ref-chai.patch
src/backends/meta-logical-monitor.c
src/backends/meta-monitor.c
src/backends/meta-output.c