On Mon, Mar 07, 2016 at 06:31:30PM +0100, Giulio Camuffo wrote: > This patches add several new functions to: > - get the list of current clients for a wl_display > - get notified of new clients > - get the list of resources for a wl_client > - get notified of new resources for a client > - get the interface of a resource > > I'm working on a tool to inspect the internal state of a compositor, and this > new > functions allow it to, once it has retrieved the wl_display, show all the > protocol > objects that are active. > I would also like to add a wl_resource *wl_resource_get_parent() to get the > tree of resources but i'm not sure what the best way to achieve that would be, > so for now i believe these patches stand on their own and they can be pushed > once R-b-ed.
Just from a technical review perspective, the set looks ok to me. Reviewed-by: Bryce Harrington <[email protected]> > Giulio Camuffo (4): > Add API to retrieve the interface of a wl_resource > Add API to get the list of connected clients > Add a resource creation signal > Add API to retrieve and iterate over the resources list of a client > > Sungjae Park (1): > server: add listener API for new clients > > src/wayland-server-core.h | 32 ++++++++++++ > src/wayland-server.c | 129 > ++++++++++++++++++++++++++++++++++++++++++++++ > 2 files changed, 161 insertions(+) > > -- > 2.7.2 > > _______________________________________________ > wayland-devel mailing list > [email protected] > https://lists.freedesktop.org/mailman/listinfo/wayland-devel _______________________________________________ wayland-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/wayland-devel
