Re: [PATCH weston] libweston-desktop: fix stale ping when a surface is destroyed

2016-09-24 Thread Quentin Glidic
On 23/09/2016 17:30, Giulio Camuffo wrote: When sending a ping event to a surface using the wl_shell interface, if that surface is destroyed before we receive the pong we will never receive it, even if the client is actually responsive, since the interface does not exist anymore. So when the surf

[PATCH weston] libweston-desktop: fix stale ping when a surface is destroyed

2016-09-23 Thread Giulio Camuffo
When sending a ping event to a surface using the wl_shell interface, if that surface is destroyed before we receive the pong we will never receive it, even if the client is actually responsive, since the interface does not exist anymore. So when the surface if destroyed pretend it's a pong and rese