[PATCH wayland 0/3] Automatically find a good WAYLAND_SOCKET for compositors

Jasper St. Pierre jstpierre at mecheye.net
Wed May 7 06:08:31 PDT 2014


Of course I mean WAYLAND_DISPLAY, not WAYLAND_SOCKET. Whoops.


On Wed, May 7, 2014 at 9:05 AM, Jasper St. Pierre <jstpierre at mecheye.net>wrote:

> This patch series implements a better fallback than a hardcoded
> "wayland-0" when a server socket has already been taken. This way,
> the code for searching for an appropriate socket is shared between
> all compositors.
>
> The option to open an explicit socket still exists, if the client
> specifies it.
>
> Jasper St. Pierre (3):
>   server: Create the socket FD after taking the lock
>   server: Split out code to open sockets for a specific name
>   server: Find an open wayland-* socket by default
>
>  src/wayland-server.c | 77
> ++++++++++++++++++++++++++++++++++++----------------
>  1 file changed, 54 insertions(+), 23 deletions(-)
>
> --
> 1.9.0
>
>


-- 
  Jasper
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/wayland-devel/attachments/20140507/30c5a8b9/attachment-0001.html>


More information about the wayland-devel mailing list