[PATCH wayland-protocols v2] Introduce xdg-foreign protocol

Jonas Ådahl jadahl at gmail.com
Mon Aug 21 02:47:53 UTC 2017


On Thu, Aug 17, 2017 at 05:43:38PM +0200, Marco Martin wrote:
> On Wed, Jul 27, 2016 at 9:54 AM, Jonas Ådahl <jadahl at gmail.com> wrote:
> > xdg-foreign is a protocol meant to enable setting up inter surface
> > relationships across clients. Potential use cases are out-of-process
> > dialogs, such as file dialogs, meant to be used by sandboxed processes
> > that may not have the access it needs to implement such dialogs.
> 
> one question about set_parent_of: what is the cardinality of
> parent/child relationship? can an imported surface be parent of more
> than one child? a child i suppose can't have more than one parent? is
> the server supposed to take care of it? (silently replacing the old
> relationships or sending protocol errors?)

The idea is to rely on xdg-shell to define this for us. Check the
recent xdg-shell thread whether you think the specification make this
clear enough.


Jonas

> 
> --
> Marco Martin


More information about the wayland-devel mailing list