main: Do the installment of black surfaces for remote outputs as well 49/24649/2
authorMarius Vlad <marius.vlad@collabora.com>
Fri, 5 Jun 2020 12:30:35 +0000 (15:30 +0300)
committerMarius Vlad <marius.vlad@collabora.com>
Mon, 15 Jun 2020 11:46:30 +0000 (14:46 +0300)
The change to enable the remote outputs later than local ones, means
we need to make sure we still have a black surface installed for the
remoting output.

Bug-AGL: SPEC-3280

Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: I3af4ee802eab377adf9c368a800b04ba13ead8af

src/main.c

index 590742a..e0a9d79 100644 (file)
@@ -1476,11 +1476,11 @@ int main(int argc, char *argv[])
 
        weston_compositor_flush_heads_changed(ivi.compositor);
 
-       ivi_shell_init_black_fs(&ivi);
-
        if (ivi.remoting_api)
                ivi_enable_remote_outputs(&ivi);
 
+       ivi_shell_init_black_fs(&ivi);
+
        if (create_listening_socket(display, socket_name) < 0)
                goto error_compositor;