How to attach multiple heads to one weston_output correctly.

Sichem Zhou sichem.zh at
Thu Sep 12 03:58:07 UTC 2019

Hi wayland devs,

I am trying to run multiple monitors in clone mode, which requires one
output to drive multiple heads. While I can create output for every head
and attach them with no problem (defaultly new output comes on the right).
I can't quite get clone mode to work properly.

Here is steps I do right now:
In the head_changed_listener:
1. Find output in the list,
2. If we don't have one, create_with_head.
3. If we found one, break, attach and disable the output.

I got black screen once new monitor attached. Any steps I am missing from
here? Thanks

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the wayland-devel mailing list