diff options
author | emersion <contact@emersion.fr> | 2018-11-28 14:08:20 +0100 |
---|---|---|
committer | emersion <contact@emersion.fr> | 2018-11-28 14:08:20 +0100 |
commit | b98563d2d7fd2481188c60c0dafc036a9ca4dd15 (patch) | |
tree | 4ce855c622235ebd43781329bfe0f620db81b3e2 /include/sway | |
parent | f737854e307a3cfeaba43f5ff18d540c23c65fa5 (diff) |
Fix segfault when destroying unmapped child view
Diffstat (limited to 'include/sway')
-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; |