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

Jasper St. Pierre jstpierre at mecheye.net
Wed May 7 06:05:53 PDT 2014


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



More information about the wayland-devel mailing list