Skip to content
Snippets Groups Projects
Commit e516c3bb authored by Derek Foreman's avatar Derek Foreman Committed by Pekka Paalanen
Browse files

compositor-fbdev: give the output a name


If you have devices configured in seats with udev then the output names
are tested with string compare.  This fixes a potential crash on startup and
device insertion.

Signed-off-by: default avatarDerek Foreman <derekf@osg.samsung.com>
Reviewed-by: Pekka Paalanen's avatarPekka Paalanen <pekka.paalanen@collabora.co.uk>
parent c93782ad
No related branches found
No related tags found
No related merge requests found
......@@ -550,6 +550,7 @@ fbdev_output_create(struct fbdev_compositor *compositor,
output->base.subpixel = WL_OUTPUT_SUBPIXEL_UNKNOWN;
output->base.make = "unknown";
output->base.model = output->fb_info.id;
output->base.name = strdup("fbdev");
weston_output_init(&output->base, &compositor->base,
0, 0, output->fb_info.width_mm,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment