[RFC] add a shutdown event

FORT David rdp.effort at gmail.com
Mon Mar 18 02:42:45 PDT 2013


2013/3/18 Yichao Yu <yyc1992 at gmail.com>

> On Sun, Mar 17, 2013 at 7:30 PM, Hardening <rdp.effort at gmail.com> wrote:
> > On 17/03/2013 23:59, Sylvain BERTRAND wrote:
>
[...]

> > As most of the time the compositor launched all the wayland clients,
> > they may be killed before they discover the socket has disconnected.
> >
> > It can be seen as a "hurry to cleanup before being killed" message.
>
> In this case, shouldn't the compositor just disconnect the socket
> instead of sending out this event in order to info the client?
>

I think implicit is better than explicit, and having the message gives no
place for interpretation of why the socket would have disconnect.

In first hand i thought about watching the "global_remove" notification
being called on notorious objects, but i've found that solution a little
hackish.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/wayland-devel/attachments/20130318/b03f5f2f/attachment.html>


More information about the wayland-devel mailing list