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, 20 May 2018 14:21:35 +0000 (15:21 +0100)
commit6cb7185775558e6d89755c3fd11e35daf75be549
tree7ed8e6dd000fa78577adff0cffa18e3b817550a8
parenteae3eab45ad864a9426309a98e0b767496b69ed8
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