On 14 August 2013 10:03, Rob Bradford <[email protected]> wrote: > On 13 August 2013 20:11, Rob Bradford <[email protected]> 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.
In principle I like this, since it avoids a roundtrip to know that you won't get any more events from the device, but also hits the whole non-null vs. zombie object problem, no? Cheers, Daniel _______________________________________________ wayland-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/wayland-devel
