aboutsummaryrefslogtreecommitdiff
path: root/include/sway/tree
diff options
context:
space:
mode:
authorRyan Dwyer <RyanDwyer@users.noreply.github.com>2018-11-28 23:27:46 +1000
committerGitHub <noreply@github.com>2018-11-28 23:27:46 +1000
commita22d0c0ff60469d57de733bb767333d5b222df2d (patch)
tree4ce855c622235ebd43781329bfe0f620db81b3e2 /include/sway/tree
parentf737854e307a3cfeaba43f5ff18d540c23c65fa5 (diff)
parentb98563d2d7fd2481188c60c0dafc036a9ca4dd15 (diff)
downloadsway-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.h1
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;