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

_______________________________________________
wayland-devel mailing list
wayland-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/wayland-devel

Reply via email to