mirror of
https://github.com/labwc/labwc.git
synced 2026-04-07 08:21:20 -04:00
view: add defensive checks for null content_tree
This commit is contained in:
parent
de0cf2116e
commit
9fd291d997
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