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)
committerJeremy Bicha <jbicha@debian.org>
Tue, 17 Apr 2018 02:35:14 +0000 (03:35 +0100)
commit27f509ace8bb50b66f0cecbbdf1e1597e7b370af
tree2dd5dbaeb12d4c1b5efc744a0b127b1be8dbfc1d
parent7a81f9e36804978628fee811de8683171593fd43
backends: Add logical monitor -> monitor -> output -> crtc ref chain

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

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.

https://bugzilla.gnome.org/show_bug.cgi?id=786929

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