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

2014-12-11 Thread Bryce Harrington
On Thu, Dec 11, 2014 at 01:40:11PM -0600, Derek Foreman 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 disc

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

2014-12-11 Thread Derek Foreman
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