[PATCH] Supporting pretty window destory effects in metacity-clutter

Adam Jackson ajax at nwnk.net
Fri Oct 24 13:19:20 PDT 2008

On Thu, 2008-10-23 at 19:14 +0100, Robert Bragg wrote:

> There is another case though where the application is forcefully closed
> and does not control the order in which windows are destroyed. If an app
> is killed then control moves to the server:
> In the server:
> CloseDownClient() ends up calling FreeClientResources() which involves
> deleting all the windows of that client. Notably they also seem to be
> deleted in no particular order, and that causes the same problem
> described above.

I'm not sure offhand of the legality of the patch you gave in terms of
the letter of the protocol, so I won't comment on that for now.  Have
you tried adding the client's windows to the wm's save set?  That way
they'll be preserved at connection close and you can destroy them
yourself at your leisure (if I remember save set semantics correctly).

- ajax
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
URL: <http://lists.x.org/archives/xorg/attachments/20081024/c26e6caa/attachment.pgp>

More information about the xorg mailing list