Skip to content
This repository has been archived by the owner on Jan 26, 2024. It is now read-only.

Commit

Permalink
destroy layersurface's scene node in destroylayersurfacenotify()
Browse files Browse the repository at this point in the history
  • Loading branch information
sevz17 committed May 25, 2022
1 parent 40449fa commit 48ec914
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions dwl.c
Original file line number Diff line number Diff line change
Expand Up @@ -1045,6 +1045,7 @@ destroylayersurfacenotify(struct wl_listener *listener, void *data)
wl_list_remove(&layersurface->map.link);
wl_list_remove(&layersurface->unmap.link);
wl_list_remove(&layersurface->surface_commit.link);
wlr_scene_node_destroy(layersurface->scene);
if (layersurface->layer_surface->output) {
Monitor *m = layersurface->layer_surface->output->data;
if (m)
Expand Down

0 comments on commit 48ec914

Please sign in to comment.