diff options
author | Alexander Orzechowski <[email protected]> | 2022-05-30 19:23:27 -0400 |
---|---|---|
committer | Isaac Freund <[email protected]> | 2022-05-31 09:14:28 +0000 |
commit | 3a68007693f9d91c3b6dc12a204455df36ae65a1 (patch) | |
tree | 5f94066a759f10ff958f091854ef6ac8a7cbf98f /surface.c | |
parent | 6975c82d95080589882b71083f67dc905e5a7f80 (diff) |
wlr_scene: Only allow parenting on a wlr_scene_tree
Diffstat (limited to 'surface.c')
-rw-r--r-- | surface.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -135,7 +135,7 @@ struct wlr_scene_surface *wlr_scene_surface_from_buffer( return surface; } -struct wlr_scene_surface *wlr_scene_surface_create(struct wlr_scene_node *parent, +struct wlr_scene_surface *wlr_scene_surface_create(struct wlr_scene_tree *parent, struct wlr_surface *wlr_surface) { struct wlr_scene_surface *surface = calloc(1, sizeof(*surface)); if (surface == NULL) { |