Re: [PATCH weston v3 4/6] Add a resource creation signal

2016-08-11 Thread Giulio Camuffo
Hi 2016-08-11 14:34 GMT+02:00 Pekka Paalanen : > > Hi Giulio, > > what is in this patch looks good, but I think there could be more. > > There is no test that would excercise > wl_client_add_resource_created_signal(). Right, i'll add it. > > wl_client destruction assumes that all resource listen

Re: [PATCH weston v3 4/6] Add a resource creation signal

2016-08-11 Thread Pekka Paalanen
On Tue, 9 Aug 2016 12:46:54 +0200 Giulio Camuffo wrote: > This change allows to add a resource creation listener to a wl_client, > which will be notified when a new resource is created for that client. > The alternative would be to have a per wl_display listener, but i think > that resources are

[PATCH weston v3 4/6] Add a resource creation signal

2016-08-09 Thread Giulio Camuffo
This change allows to add a resource creation listener to a wl_client, which will be notified when a new resource is created for that client. The alternative would be to have a per wl_display listener, but i think that resources are really client specific objects, so it makes sense to use the wl_cl