main: Retrieve the agl-shell-app-id from the config file 67/24667/3
authorMarius Vlad <marius.vlad@collabora.com>
Tue, 2 Jun 2020 15:17:30 +0000 (18:17 +0300)
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>
Mon, 15 Jun 2020 10:09:42 +0000 (10:09 +0000)
Just like local outputs, use the agl-shell-app-id specified in the
'remote-output' section to assign that output to the specific
application id.

Bug-AGL: SPEC-3280

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

src/main.c

index 84cb980..2571d17 100644 (file)
@@ -731,6 +731,7 @@ load_remoting(struct ivi_compositor *ivi, struct weston_config *config)
                                                   &ivi_output->output_destroy);
 
                wl_list_insert(&ivi->outputs, &ivi_output->link);
+               ivi_output_configure_app_id(ivi_output);
        }
 
        return 0;