[PATCH weston] compositor-x11: Move the x11 window close to an idle handler
daniel at fooishbar.org
Tue Feb 3 06:01:31 PST 2015
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>
More information about the wayland-devel