Re: [PATCH 2/3] Modify wayland-scanner to generate inert objects

2015-09-29 Thread Daniel Stone
Hi, On 23 September 2015 at 17:33, Derek Foreman wrote: > On 25/02/15 08:03 AM, David FORT wrote: >> As stated in the very good blog post[1] of Pekka Paalanen, server-side we >> can have >> sometime troubles with object that the server has deleted but that the client >> is still requesting. This

Re: [PATCH 2/3] Modify wayland-scanner to generate inert objects

2015-09-23 Thread Derek Foreman
This one's been waiting for a long time... I'm currently pretending to make an effort to clean up patchwork a bit. ;) On 25/02/15 08:03 AM, David FORT wrote: > As stated in the very good blog post[1] of Pekka Paalanen, server-side we can > have > sometime troubles with object that the server has

Re: [PATCH 2/3] Modify wayland-scanner to generate inert objects

2015-03-12 Thread Marek Chalupa
I wonder if the same effect could be achieved by few smaller changes. What I'm thinking about is something like: wl_resource_set_intact() So far I've got three ways how to achieve that: 1) change scanner so that it saves opcode of destructor events in wl_interface, so when we invoke a closure, we

[PATCH 2/3] Modify wayland-scanner to generate inert objects

2015-02-25 Thread David FORT
As stated in the very good blog post[1] of Pekka Paalanen, server-side we can have sometime troubles with object that the server has deleted but that the client is still requesting. This patch complements the scanner to create some code that will return inert objects, ie objects that will do nothi