diff options
author | Ryan Dwyer <RyanDwyer@users.noreply.github.com> | 2018-11-28 23:27:46 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-28 23:27:46 +1000 |
commit | a22d0c0ff60469d57de733bb767333d5b222df2d (patch) | |
tree | 4ce855c622235ebd43781329bfe0f620db81b3e2 /include/sway/tree | |
parent | f737854e307a3cfeaba43f5ff18d540c23c65fa5 (diff) | |
parent | b98563d2d7fd2481188c60c0dafc036a9ca4dd15 (diff) | |
download | sway-a22d0c0ff60469d57de733bb767333d5b222df2d.tar.xz |
Merge pull request #3211 from emersion/child-view-unmapped-segfault
Fix segfault when destroying unmapped child view
Diffstat (limited to 'include/sway/tree')
-rw-r--r-- | include/sway/tree/view.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sway/tree/view.h b/include/sway/tree/view.h index d74f1bc9..5cc9777b 100644 --- a/include/sway/tree/view.h +++ b/include/sway/tree/view.h @@ -195,6 +195,7 @@ struct sway_view_child { struct sway_view *view; struct wlr_surface *surface; + bool mapped; struct wl_listener surface_commit; struct wl_listener surface_new_subsurface; |