Add API to get the list of connected clients

Graphics / Wayland / Wayland - Giulio Camuffo [gmail.com] - 11 August 2016 07:52 UTC

This patch chooses the wl_list_for_each-style of iterating over the clients, instead of using an iterator function, because i think it is easier to use.

596024f Add API to get the list of connected clients
src/wayland-server-core.h | 14 +++++++++
src/wayland-server.c | 54 +++++++++++++++++++++++++++++++++
tests/compositor-introspection-test.c | 22 ++++++++++++++
3 files changed, 90 insertions(+)

Upstream: cgit.freedesktop.org


  • Share