ivi-shell: add surface_created listener after launchers

Graphics / Wayland / Weston - Ucan, Emre (ADITG/SW1) [de.adit-jv.com] - 29 June 2016 03:31 UTC

Add surface_created listener after the initialization of launchers. Otherwise, surfaces of the launchers will be added to the application layer too.

This does create a race where we might miss some surfaces that get created before the UI client signals ready, but it was agreed the race is not significant. You cannot use the launchers before the UI is ready, and someone using systemd integration to launch clients in parallel to Weston with ivi-shell and hmi-controller is unlikely. After all, hmi-controller is just a demo.

d97f100 ivi-shell: add surface_created listener after launchers
ivi-shell/hmi-controller.c | 10 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)

Upstream: cgit.freedesktop.org


  • Share