[PATCH wayland 0/6] Introduce API to automatically find a good default display

Jasper St. Pierre jstpierre at mecheye.net
Thu Jul 17 10:54:18 PDT 2014


This patch series introduces a new API to find an open Wayland display
so that compositors don't need to reimplement all this code. This way,
the code searching for an appropriate socket can be shared between all
compositors.

Jasper St. Pierre (6):
  server: Clean up socket destruction
  server: Create the socket FD after taking the lock
  server: Split out code to initialize the socket address for a display
    name
  server: Make get_socket_lock operate directly on the socket's lock_fd
  server: Save the display name in the wl_socket
  server: Add a simple API to find a good default display

 src/wayland-server.c | 170 ++++++++++++++++++++++++++++++++++-----------------
 src/wayland-server.h |   1 +
 2 files changed, 116 insertions(+), 55 deletions(-)

-- 
2.0.1



More information about the wayland-devel mailing list