[PATCH 0/3] Re: [PATCH v2] wayland-server: Add API to control globals visibility

2016-08-08 Thread Olivier Fourdan
Hi Jonas, > The API additions to wl_global should be their own patches IMHO. Agreed, I have splitted the patch in 3: - Add the global filter with its own user data - Add the API to retrieve the wl_global's interface and data - Add the test > What I meant was that one would pass a user_data w

Re: [PATCH v2] wayland-server: Add API to control globals visibility

2016-08-02 Thread Jonas Ã…dahl
On Mon, Aug 01, 2016 at 03:22:59PM +0200, Olivier Fourdan wrote: > Add a new API to let compositor decide whether or not a wl_global > should be advertised to the clients via wl_registry_bind() or > display_get_registry() > > By using its own filter, the compositor can decide which wl_global would

[PATCH v2] wayland-server: Add API to control globals visibility

2016-08-01 Thread Olivier Fourdan
Add a new API to let compositor decide whether or not a wl_global should be advertised to the clients via wl_registry_bind() or display_get_registry() By using its own filter, the compositor can decide which wl_global would be listed to clients. Compositors can use this mechanism to hide their ow