mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2026-05-03 19:28:00 +02:00
compositor-x11: Set the name field on weston_outputs
That way log messages referencing the output are more informative.
This commit is contained in:
parent
41b829c025
commit
d4ea71eada
1 changed files with 4 additions and 0 deletions
|
|
@ -871,6 +871,10 @@ x11_compositor_create_output(struct x11_compositor *c, int x, int y,
|
|||
output->base.current_mode = &output->mode;
|
||||
output->base.make = "xwayland";
|
||||
output->base.model = "none";
|
||||
|
||||
if (configured_name)
|
||||
output->base.name = strdup(configured_name);
|
||||
|
||||
weston_output_init(&output->base, &c->base,
|
||||
x, y, width, height, transform, scale);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue