From c0d10485f2f63ffaf545449131eafa49ceeb4fba Mon Sep 17 00:00:00 2001 From: Marius Vlad Date: Thu, 4 Dec 2025 14:56:51 +0200 Subject: [PATCH] compositor: Use helper for getting surface role name Signed-off-by: Marius Vlad --- libweston/compositor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libweston/compositor.c b/libweston/compositor.c index 4e72f2bbb..dfb676030 100644 --- a/libweston/compositor.c +++ b/libweston/compositor.c @@ -983,7 +983,7 @@ weston_surface_debug_string_regenerate(FILE *fp, void *data) } fprintf(fp, "role %s, PID %d, surface ID %u, %s", - surface->role_name, pid, surface_id, desc); + weston_surface_get_role(surface), pid, surface_id, desc); if (!weston_surface_is_mapped(surface)) fprintf(fp, "\t[surface is not mapped!]\n");