commit | 4a7409a1f5b055fe7b8dffa763802d51381b1d22 | [log] [tgz] |
---|---|---|
author | Jason Ekstrand <jason@jlekstrand.net> | Sun Oct 27 21:32:54 2013 -0500 |
committer | Kristian Høgsberg <krh@bitplanet.net> | Wed Oct 30 08:40:24 2013 -0700 |
tree | 415c23838f55eb3f1bae18b00d8e608a0bf14172 | |
parent | 8ae63851dd57ee448d3d8897dca74d094d3f0cad [diff] [blame] |
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.
diff --git a/clients/window.c b/clients/window.c index e9acacf..dd6a213 100644 --- a/clients/window.c +++ b/clients/window.c
@@ -2396,7 +2396,7 @@ 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) {