Re: [PATCH weston] compositor-x11: Move the x11 window close to an idle handler

2015-02-04 Thread Bryce Harrington
On Tue, Feb 03, 2015 at 02:01:31PM +, Daniel Stone wrote: > On 27 January 2015 at 22:26, Derek Foreman wrote: > > The input loop is actually dispatched in the middle of the frame repaint. > > When the X11 event results in closing the compositor, this can cause the > > current output to be dest

Re: [PATCH weston] compositor-x11: Move the x11 window close to an idle handler

2015-02-03 Thread Daniel Stone
On 27 January 2015 at 22:26, Derek Foreman wrote: > The input loop is actually dispatched in the middle of the frame repaint. > When the X11 event results in closing the compositor, this can cause the > current output to be destroyed just prior to trying to process animations > on it. > > We fix t

[PATCH weston] compositor-x11: Move the x11 window close to an idle handler

2015-01-27 Thread Derek Foreman
The input loop is actually dispatched in the middle of the frame repaint. When the X11 event results in closing the compositor, this can cause the current output to be destroyed just prior to trying to process animations on it. We fix this by handling the window close event in an idle callback. N