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

2016-07-20 Thread Jonas Ã…dahl
On Wed, Jul 06, 2016 at 03:45:00PM +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

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

2016-07-06 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