diff options
author | Ander Conselvan de Oliveira <ander.conselvan.de.oliveira@intel.com> | 2013-12-18 19:51:40 +0200 |
---|---|---|
committer | Kristian Høgsberg <krh@bitplanet.net> | 2013-12-19 21:51:14 -0800 |
commit | d4ea71eada760c049cb92af05ebe47c1c81162d0 (patch) | |
tree | c69513ec12025e708f822a20f7a5f8376f9d563a /src/compositor-x11.c | |
parent | 41b829c025fb92d601e2a41468a2f281e3c8731e (diff) | |
download | weston-d4ea71eada760c049cb92af05ebe47c1c81162d0.tar.gz |
compositor-x11: Set the name field on weston_outputs
That way log messages referencing the output are more informative.
Diffstat (limited to 'src/compositor-x11.c')
-rw-r--r-- | src/compositor-x11.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/compositor-x11.c b/src/compositor-x11.c index 2ef1b5d7..1b178b8a 100644 --- a/src/compositor-x11.c +++ b/src/compositor-x11.c @@ -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); |