compositor: Align to the right the remoting output 21/30221/1
authorMarius Vlad <marius.vlad@collabora.com>
Sat, 17 Aug 2024 17:02:43 +0000 (20:02 +0300)
committerMarius Vlad <marius.vlad@collabora.com>
Wed, 21 Aug 2024 08:45:29 +0000 (11:45 +0300)
This was an oversight when we migrated to libweston 13, so align the
other right to avoid overlapping with the other outputs. This should
allow remoting to work, assuming that host can actually grab the frames.

Bug-AGL: SPEC-5230
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: I0de113804a5888dba38869e5afb857a162389de2

src/compositor.c

index 078157a..58037f9 100644 (file)
@@ -949,6 +949,8 @@ remote_output_init(struct ivi_output *ivi_output,
                goto err;
        }
 
+       weston_output_lazy_align(ivi_output->output);
+
        if ((ret = weston_output_enable(ivi_output->output)) < 0) {
                weston_log("Enabling remoted output \"%s\" failed.\n",
                                output_name);