mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2026-02-08 17:20:35 +01:00
compositor: Use helper for getting surface role name
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
This commit is contained in:
parent
52f87cde30
commit
c0d10485f2
1 changed files with 1 additions and 1 deletions
|
|
@ -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");
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue