weston/frontend
Marius Vlad d553333da8 frontend: Share a native output using 'mirror-of' keyword
This would allow to screen-share a particular output like the
following:

[output]
name=vnc
same-as=DP-5

[output]
name=rdp-0
same-as=DP-4

[output]
name=pipewire
same-as=eDP-1

Both 'vnc', 'pipewire' 'rdp-0' remote outputs would then be a
screen-share 'DP-5', respectively, 'e-DP1', or the 'DP-4' DRM output.

Currently, this is intended only for VNC, RDP and PipeWire remote outputs.

This patch exports weston_output_set_position(), and uses that for
overlapping a remote output with a native DRM one, rather than using
weston_output_move() as that has a side-effect when reflowing outputs
from shells.

Further more creating this remote output is driven entirely by compositor
signal events such that enabling an DRM native output would enable the
remote output, while disabling the native would have the same outcome
for the remote one.

Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
2024-08-12 15:50:13 +00:00
..
config-helpers.c Rename compositor/ to frontend/ 2023-12-18 15:34:26 +00:00
executable.c Rename compositor/ to frontend/ 2023-12-18 15:34:26 +00:00
main.c frontend: Share a native output using 'mirror-of' keyword 2024-08-12 15:50:13 +00:00
meson.build compositor: delete cms-static and cms-colord plugins 2024-08-05 11:47:30 +03:00
screen-share.c Rename compositor/ to frontend/ 2023-12-18 15:34:26 +00:00
systemd-notify.c Rename compositor/ to frontend/ 2023-12-18 15:34:26 +00:00
text-backend.c Rename compositor/ to frontend/ 2023-12-18 15:34:26 +00:00
weston-private.h frontend: Expand simple head function 2024-08-12 15:50:13 +00:00
weston-screenshooter.c Rename compositor/ to frontend/ 2023-12-18 15:34:26 +00:00
weston.desktop Rename compositor/ to frontend/ 2023-12-18 15:34:26 +00:00
weston.h Rename compositor/ to frontend/ 2023-12-18 15:34:26 +00:00
xwayland.c Rename compositor/ to frontend/ 2023-12-18 15:34:26 +00:00