mirror of
https://github.com/labwc/labwc.git
synced 2025-11-30 06:59:52 -05:00
view: add defensive checks for null content_tree
This commit is contained in:
parent
b1e7282995
commit
8bd20f19dc
4 changed files with 14 additions and 3 deletions
|
|
@ -163,7 +163,7 @@ struct view {
|
|||
struct workspace *workspace;
|
||||
struct wlr_surface *surface;
|
||||
struct wlr_scene_tree *scene_tree;
|
||||
struct wlr_scene_tree *content_tree;
|
||||
struct wlr_scene_tree *content_tree; /* may be NULL for unmapped view */
|
||||
|
||||
/* These are never NULL and an empty string is set instead. */
|
||||
char *title;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue