[PATCH 2/7] compositor-drm: Do not exit when there are no outputs left

Pekka Paalanen ppaalanen at gmail.com
Fri Aug 5 13:06:16 UTC 2016


On Fri, 29 Jul 2016 13:26:23 +0200
Armin Krezović <krezovic.armin at gmail.com> wrote:

> 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.armin at 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

Hi,

patches 1 and 2 R-b me and pushed:
   707c4fd..984781f  master -> master

Patches 3 and 4 had some issues, and 5-7 I haven't looked at yet.


Thanks,
pq
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 811 bytes
Desc: OpenPGP digital signature
URL: <https://lists.freedesktop.org/archives/wayland-devel/attachments/20160805/76899bfd/attachment.sig>


More information about the wayland-devel mailing list