... wlsunset is only being advised of one output here so it can only manage such.
Either wayfire is responsible for copying the gamma, or wlsunset must be made aware of all outputs.
... Wayfire only exposes one output in this setup, so we're doing all we can.
To Reproduce
Set one output to mirror another one, and let wlsunset run. You'll notice only the mirrored (sort of original) output is affected by wlsunset. See the description before.
Expected behavior
Both outputs should be affected by wlsunset.
Description I'm using wayfire 0.8.0 patched with commit output-layout: use wlr_texture_from_buffer directly and wlsunset 0.3.0. The patch is to allow mirroring to work. Then on wayfire.ini:
That actually makes the external HDMI monitor to mirror the laptop screen. Both use the same mode (same resolution and same frequency).
Bad thing, only on the output being mirrored (eDP-1), wlsunset has effect. wlsunset has no effect on the mirroring output (HDMI-A-4).
Running wlsunset with
WAYLAND_DEBUG=1
shows:I first filed a ticket on wlsunset Not working on mirroring monitor, which can work as a reference. But there it was mentioned:
To Reproduce Set one output to mirror another one, and let wlsunset run. You'll notice only the mirrored (sort of original) output is affected by wlsunset. See the description before.
Expected behavior Both outputs should be affected by wlsunset.
Wayfire version wayfire 0.8.0 patched with commit output-layout: use wlr_texture_from_buffer directly and wlsunset 0.3.0.
Reference wlsunset ticket Not working on mirroring monitor