mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2025-12-20 04:40:07 +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
0926bd1025
commit
b229b4c513
1 changed files with 1 additions and 1 deletions
|
|
@ -972,7 +972,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