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

2014-12-19 Thread Pekka Paalanen
On Thu, 11 Dec 2014 15:44:46 -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 discard e

[PATCH v2 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