mirror of
https://github.com/cage-kiosk/cage.git
synced 2026-03-22 05:34:01 -04:00
fix segfault when exitting cage with a child still present
This commit is contained in:
parent
dcd64ae48b
commit
e32200c9c0
2 changed files with 22 additions and 1 deletions
1
view.h
1
view.h
|
|
@ -26,6 +26,7 @@ struct cg_view {
|
|||
struct wl_list link; // server::views
|
||||
struct wlr_surface *wlr_surface;
|
||||
struct wlr_scene_tree *scene_tree;
|
||||
struct wl_listener surface_destroy; /* nullifies scene_tree when wlroots frees it */
|
||||
|
||||
/* The view has a position in layout coordinates. */
|
||||
int lx, ly;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue