Re: [PATCH] compositor: fix dangling pointer

2012-02-15 Thread Pavel Sterin
On Wednesday 15 February 2012 09:35:40 Pekka Paalanen wrote: > Looks ok as a stop-gap measure to me, FWIW. I somehow managed to skip a line from the first commit, and then forgot it in the patch... there must be a line like: struct weston_input_device *device; before wl_list_for_each, or the co

Re: [PATCH] compositor: fix dangling pointer

2012-02-14 Thread Pekka Paalanen
On Tue, 14 Feb 2012 23:00:03 +0100 Pavel Sterin wrote: > if a client crashes during drag and drop a notify_motion > can be triggered after the surface has been destroyed, so traverse > all the input devices and look reset the corresponding grab > focus. > --- > src/compositor.c |6 ++ >

[PATCH] compositor: fix dangling pointer

2012-02-14 Thread Pavel Sterin
if a client crashes during drag and drop a notify_motion can be triggered after the surface has been destroyed, so traverse all the input devices and look reset the corresponding grab focus. --- src/compositor.c |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/src/comp