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

2016-08-05 Thread Pekka Paalanen
On Fri, 29 Jul 2016 13:26:23 +0200
Armin Krezović  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ć 
> ---
>  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


pgpRkJYkXU56X.pgp
Description: OpenPGP digital signature
___
wayland-devel mailing list
wayland-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/wayland-devel


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

2016-07-29 Thread Armin Krezović
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ć 
---
 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