[PATCH v2 weston] compositor-x11: Fix some shutdown crashes

Pekka Paalanen ppaalanen at gmail.com
Fri Dec 19 04:41:43 PST 2014


On Thu, 11 Dec 2014 15:44:46 -0600
Derek Foreman <derekf at osg.samsung.com> wrote:

> The assertion in x11_compositor_find_output() can trigger during normal
> shutdown, for example, when moving the mouse while hitting a hotkey to
> close the weston window.
> 
> Instead we can remove the assert(), return NULL, and discard events
> we can't find a destination output for.
> 
> Signed-off-by: Derek Foreman <derekf at osg.samsung.com>
> ---
> 
> Missed one in the first patch - not 100% sure it can actually trigger,
> but should catch it for completeness, I think...
> 
>  src/compositor-x11.c | 16 ++++++++++++++--
>  1 file changed, 14 insertions(+), 2 deletions(-)

Pushed, thanks,
pq


More information about the wayland-devel mailing list