[Headless] Query if Mutter is running in headless mode
Feature summary
It would be useful to have a way to determine if Mutter is running in headless mode or not. In this way we would know if it is possible to use virtual monitors and which is the proper approach to change monitors' resolution
- headless --> pipewire stream renegotiation
- non-headless --> org.gnome.Mutter.DisplayConfig api
How would you like it to work
It would be nice to have dbus property to query, like this:
<property name="IsHeadlessMode" type="b" access="read" />
I am not sure where is the best place to add it:
- org.gnome.Mutter.DisplayConfig
- org.gnome.Mutter.ScreenCast
- somewhere else