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: Derek Foreman <[email protected]> --- src/compositor-fbdev.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/compositor-fbdev.c b/src/compositor-fbdev.c index eedf252..ae526e5 100644 --- a/src/compositor-fbdev.c +++ b/src/compositor-fbdev.c @@ -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, -- 2.1.4 _______________________________________________ wayland-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/wayland-devel
