When there are no outputs left after a hotplug event, weston will terminate. This isn't desired when trying to get weston to work with zero outputs.
Signed-off-by: Armin Krezović <krezovic.ar...@gmail.com> --- libweston/compositor-drm.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/libweston/compositor-drm.c b/libweston/compositor-drm.c index f089741..de334f1 100644 --- a/libweston/compositor-drm.c +++ b/libweston/compositor-drm.c @@ -2689,10 +2689,6 @@ update_outputs(struct drm_backend *b, struct udev_device *drm_device) } } } - - /* FIXME: handle zero outputs, without terminating */ - if (b->connector_allocator == 0) - weston_compositor_exit(b->compositor); } static int -- 2.9.2 _______________________________________________ wayland-devel mailing list wayland-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/wayland-devel