Thoughts on getting surfaces to appear on the right output

Neil Roberts neil at linux.intel.com
Fri May 2 15:49:01 PDT 2014


Bill Spitzak <spitzak at gmail.com> writes:

> 1. It would seem more useful for the desktop shell to send some info
> about how the client was launched in environment variables.

Yes, maybe it would be cleaner to agree on some protocol for the parent
process to send the information directly to the child. I'm not sure
about using environment variables though because they tend to be
inherited. For example if you used the desktop shell to launch a
terminal then all clients that that terminal launched would end up with
the same environment variables.

> 2. If the desktop shell creates the socket, there is no need for it to
> "send commands" on it. Instead it can directly manipulate the local
> end to have the results of those commands.

The desktop shell is also a client in a separate process so it can't
directly manipulate the compositor's view of the new client without some
sort of protocol.

Regards,
- Neil


More information about the wayland-devel mailing list