src: Send out the output name for the remote role 43/28643/6
authorMarius Vlad <marius.vlad@collabora.com>
Fri, 14 Apr 2023 13:46:06 +0000 (16:46 +0300)
committerMarius Vlad <marius.vlad@collabora.com>
Wed, 3 May 2023 15:46:15 +0000 (18:46 +0300)
commitb80044887e97509433eb19945ce8feab68151044
tree379905a812ccebc927728b2be6f484df348f4895
parent456f3fed4ff45bbaf7f60c78ffb0ae0289002dfe
src: Send out the output name for the remote role

A while ago we switched to activation-by-default turned off which passes
the responsability of activating applications to the shell client. The
shell client uses the app_id to indentify the application to display,
and the output.

The output would normally be hard-coded to the first available output
but there is nothing that prevents the shell to display it on other
outputs.

This patch does just that, it would allow the user use configurable
option in the ini file, under the [output], agl-shell-app-id=app_id, by
re-using the event from the compositor sent to the shell client to
pick up a different output, the one specified in the section entry.

Bug-AGL: SPEC-4529
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: Ieea1a28fe6776ecc691fd38da9b4c3495ac5a5ea
src/desktop.c
src/ivi-compositor.h
src/shell.c