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

Bryce Harrington bryce at osg.samsung.com
Wed Feb 4 19:56:09 PST 2015


On Tue, Feb 03, 2015 at 02:01:31PM +0000, Daniel Stone wrote:
> On 27 January 2015 at 22:26, Derek Foreman <derekf at osg.samsung.com> 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 this by handling the window close event in an idle callback.
> >
> > NOTE: this requires a patch for wayland that moves the idle handler
> > dispatch to after epoll_wait in the event loop processing.
> >
> > Closes bug: https://bugs.freedesktop.org/show_bug.cgi?id=81314
> >
> > Signed-off-by: Derek Foreman <derekf at osg.samsung.com>
> 
> Reviewed-by: Daniel Stone <daniels at collabora.com>

LGTM, thanks, applied.

   3e4d4bd..d540f4b  master -> master

Bryce



More information about the wayland-devel mailing list