Skip to content
Commit c55c1d78 authored by Giulio Camuffo's avatar Giulio Camuffo Committed by Pekka Paalanen
Browse files

Add a resource creation signal



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_client as the context.

Signed-off-by: default avatarGiulio Camuffo <giulio.camuffo@kdab.com>
Reviewed-by: default avatarJonas Ådahl <jadahl@gmail.com>
[Pekka: added wl_list_remove() in TEST(new_resource).]
Signed-off-by: default avatarPekka Paalanen <pekka.paalanen@collabora.co.uk>
parent 596024f7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment