[PATCH weston 1/2] compositor: Implement release request for input interfaces

Rob Bradford robert.bradford at intel.com
Wed Aug 14 02:03:07 PDT 2013

On 13 August 2013 20:11, Rob Bradford <robert.bradford at intel.com> wrote:

> +static void
> +pointer_release(struct wl_client *client, struct wl_resource *resource)
> +{
> +       wl_resource_destroy(resource);
> +}
> +

Wondering if we should also send leave events here if the pointer has
a focus...The only other time we destroy an input resource is because
the client has gone away and in that case the surface too. Perhaps
worth extending the testing to enable pairs of get_pointer/release.


More information about the wayland-devel mailing list