summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarius Vlad <marius.vlad@collabora.com>2022-08-15 17:19:56 +0300
committerMarius Vlad <marius.vlad@collabora.com>2022-09-14 16:35:13 +0000
commita99d56dad0ad4ade344b37c9119908254154336c (patch)
tree424b39b21335d99901cdde16629faf9cf9452cd1
parentfc783c19e6f6b9bed1c533dc158f1b0aa32d25c1 (diff)
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 <marius.vlad@collabora.com> Change-Id: I39d3645f287e16c99ded6f0246a6f0d8929fa6eb
-rw-r--r--src/layout.c12
1 files 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) {