mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2026-05-05 20:28:03 +02:00
toytoolkit: Don't segfault on window close
Without this commit, the client will segmentation fault due to accessing the frame after everything has been destroyed.
This commit is contained in:
parent
8ae63851dd
commit
4a7409a1f5
1 changed files with 1 additions and 1 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue