From a99d56dad0ad4ade344b37c9119908254154336c Mon Sep 17 00:00:00 2001 From: Marius Vlad Date: Mon, 15 Aug 2022 17:19:56 +0300 Subject: [PATCH] layout: State explicity the output No functional changes, just print out in the logs what output is being explicitly used. Bug-AGL: SPEC-4520 Signed-off-by: Marius Vlad Change-Id: I39d3645f287e16c99ded6f0246a6f0d8929fa6eb --- src/layout.c | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/src/layout.c b/src/layout.c index c2b17ce..86b4b7f 100644 --- a/src/layout.c +++ b/src/layout.c @@ -419,9 +419,11 @@ ivi_layout_desktop_committed(struct ivi_surface *surf) return; if (app_id) { - weston_log("Surface with app_id %s, role %s activating by default\n", - weston_desktop_surface_get_app_id(surf->dsurface), - ivi_layout_get_surface_role_name(surf)); + weston_log("Surface with app_id %s, role %s activating " + "by default on output %s\n", + weston_desktop_surface_get_app_id(surf->dsurface), + ivi_layout_get_surface_role_name(surf), + output->output->name); ivi_layout_activate(output, app_id); } return; @@ -796,8 +798,8 @@ ivi_layout_activate_by_surf(struct ivi_output *output, struct ivi_surface *surf) } #ifdef AGL_COMP_DEBUG - weston_log("Activating app_id %s, type %s\n", app_id, - ivi_layout_get_surface_role_name(surf)); + weston_log("Activating app_id %s, type %s, on output %s\n", app_id, + ivi_layout_get_surface_role_name(surf), output->output->name); #endif if (surf->role == IVI_SURFACE_ROLE_POPUP) { -- 2.16.6