On Sun, Oct 27, 2013 at 09:32:54PM -0500, Jason Ekstrand wrote:
> Without this commit, the client will segmentation fault due to accessing
> the frame after everything has been destroyed.
> 
> ---
>  clients/window.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Yup, I hit this a couple times.  Committed, thanks.

Kristian

> diff --git a/clients/window.c b/clients/window.c
> index 331569a..be61a53 100644
> --- a/clients/window.c
> +++ b/clients/window.c
> @@ -2396,7 +2396,7 @@ frame_handle_status(struct window_frame *frame, struct 
> input *input,
>                                             window->user_data);
>               else
>                       display_exit(window->display);
> -             frame_status_clear(frame->frame, FRAME_STATUS_CLOSE);
> +             return;
>       }
>  
>       if ((status & FRAME_STATUS_MOVE) && window->shell_surface) {
> -- 
> 1.8.3.1
> 
> _______________________________________________
> wayland-devel mailing list
> [email protected]
> http://lists.freedesktop.org/mailman/listinfo/wayland-devel
_______________________________________________
wayland-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/wayland-devel

Reply via email to