canonical / mir

The Mir compositor
GNU General Public License v2.0
627 stars 100 forks source link

[wayland-platform] Improve support for display configuration #1128

Open AlanGriffiths opened 4 years ago

AlanGriffiths commented 4 years ago

We have no way to configure the display from the hosted session.

Currently we simply accept the configuration from the host system. (Would we need to add a protocol extension for updating the host configuration as we did with "nested"?)

AlanGriffiths commented 4 years ago

Adding a note here as it would likely be addressed at the same time: mirclient exposed the DisplayConfigurationOutputType, which was used by Unity8 but is not exposed by wl_output or xdg_output_unstable_v1.

wmww commented 4 years ago

I believe this WLR protocol has some of the functionality we want. A client implementation can be found here.

wmww commented 4 years ago

fullscreen-shell-unstable-v1 may also be relevant.

AlanGriffiths commented 4 years ago

I believe this WLR protocol has some of the functionality we want. A client implementation can be found here.

That's similar to (but more functional than) https://github.com/wayland-project/wayland-protocols/blob/master/unstable/xdg-output/xdg-output-unstable-v1.xml