projects
/
platform
/
upstream
/
weston.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8ae6385
)
toytoolkit: Don't segfault on window close
author
Jason Ekstrand
<jason@jlekstrand.net>
Mon, 28 Oct 2013 02:32:54 +0000
(21:32 -0500)
committer
Kristian Høgsberg
<krh@bitplanet.net>
Wed, 30 Oct 2013 15:40:24 +0000
(08:40 -0700)
Without this commit, the client will segmentation fault due to accessing
the frame after everything has been destroyed.
clients/window.c
patch
|
blob
|
history
diff --git
a/clients/window.c
b/clients/window.c
index
e9acacf
..
dd6a213
100644
(file)
--- 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) {